I have a bunch of observers in RAILS_ROOT/spec/observers/ as well as
in some sub directories for some name spaced observers.
For example:
\spec
\observers
person_observer_spec.rb
\admin
user_observer_spec.rb
autospec doesn't seem to want to pick them up. The box I
Hi,
Would the BDD experts recommend I either (a) use fixtures for data or
(b) stub out existing class methods for such a scenario?
Scenario = Working on a "populate for future transactions" method &
testing this. It generates "transactions" table rows as part of the
test. To do this it (a) requ
Thank you very much for the link! Actually my problem was that I have 2
buttons on the page, and the only way to distinguish them is to use the
alt tag which I wasn't currently using. Now everything works perfectly.
--
Posted via http://www.ruby-forum.com/.
__
Hey everyone,
We're doing a panel on testing at the Voices That Matter conference
(http://www.voicesthatmatter.com/ruby2008/ - you should go :). Obie set
up a google moderator thing [1] to collect questions for the panel. I
invite you all to put some questions up on there. They can be questions
Hi,
Going plugin-less for RSpec went 99% smoothly, here is the only error
message I got:
$ ./script/generate rspec
Gem::SourceIndex#search support for Regexp patterns is deprecated
/usr/local/ruby/lib/ruby/gems/1.8/gems/rails-2.1.1/lib/rails_generator/lookup.rb:211:in
`each' is outdated
--
Po
By the way for a RoR application, can I also go plugin-less for Webrat
and Cucumber? From what I understand I still need to install these two
as plugins.
--
Posted via http://www.ruby-forum.com/.
___
rspec-users mailing list
rspec-users@rubyforge.org
h
On Sun, Oct 5, 2008 at 10:51 AM, Fernando Perez <[EMAIL PROTECTED]> wrote:
> By the way for a RoR application, can I also go plugin-less for Webrat
> and Cucumber? From what I understand I still need to install these two
> as plugins.
Why ask us when you can ask rubygems?
$ gem q -drn cucumber
$
On Sun, Oct 5, 2008 at 10:45 AM, Fernando Perez <[EMAIL PROTECTED]> wrote:
> Hi,
>
> Going plugin-less for RSpec went 99% smoothly, here is the only error
> message I got:
>
> $ ./script/generate rspec
> Gem::SourceIndex#search support for Regexp patterns is deprecated
> /usr/local/ruby/lib/ruby/ge
> Why ask us when you can ask rubygems?
>
Well I prefer to ask (and sound stupid 5 minutes) than not ask (and be
stupid all my life), that's the way I work. From the cucumber github
wiki located at: http://github.com/aslakhellesoy/cucumber/wikis
--
Installation
(Rails people – see Ruby on Rails
I just released 0.1.7 as a gem. (As usual, it will take a few hours
before it rsyncs around the world).
Changes are here:
http://github.com/aslakhellesoy/cucumber/tree/v0.1.7/History.txt
Thanks to everyone who's contributed with feedback and patches!
Cheers,
Aslak
___
I have removed the plugins for both cucumber and webrat. Now I am having
the following error message when running rake features or
./script/generate cucumber:
--
/usr/local/ruby/lib/ruby/gems/1.8/gems/cucumber-0.1.6/lib/cucumber/cli.rb:83:in
`read': No such file or directory - cucumber.yml (Errn
On Sun, Oct 5, 2008 at 11:20 AM, Fernando Perez <[EMAIL PROTECTED]> wrote:
>> Why ask us when you can ask rubygems?
>>
> Well I prefer to ask (and sound stupid 5 minutes) than not ask (and be
> stupid all my life), that's the way I work. From the cucumber github
> wiki located at: http://github.com
Shame we didn't see you at Citcon, Aslak, but I'm glad to hear you
were doing something useful instead!
Looking forward to playing with the new toys.
cheers,
Matt
On 5 Oct 2008, at 17:55, aslak hellesoy wrote:
I just released 0.1.7 as a gem. (As usual, it will take a few hours
before it rsy
On 5 Oct 2008, at 12:26, Greg Hauptmann wrote:
BankAccount.any_instance.stubs(:balance?).returns()).
Do people normal use the "any_instance.stubs" approach to stub out
existing classes already developed, as a means to minimize associated
Is this any_instance thing in the rspec mocking framewor
On Oct 5, 2008, at 11:11 AM, Pat Maddox wrote:
Hey everyone,
We're doing a panel on testing at the Voices That Matter conference
(http://www.voicesthatmatter.com/ruby2008/ - you should go :). Obie
set
up a google moderator thing [1] to collect questions for the panel. I
invite you all to
On 5 Oct 2008, at 12:26, Greg Hauptmann wrote:
Hi,
Would the BDD experts recommend I either (a) use fixtures for data or
(b) stub out existing class methods for such a scenario?
Scenario = Working on a "populate for future transactions" method &
testing this. It generates "transactions" table
On Oct 5, 2008, at 4:47 PM, Matt Wynne wrote:
On 5 Oct 2008, at 12:26, Greg Hauptmann wrote:
BankAccount.any_instance.stubs(:balance?).returns()).
Do people normal use the "any_instance.stubs" approach to stub out
existing classes already developed, as a means to minimize associated
Is this
On 5 Oct 2008, at 21:56, Scott Taylor wrote:
On Oct 5, 2008, at 4:47 PM, Matt Wynne wrote:
On 5 Oct 2008, at 12:26, Greg Hauptmann wrote:
BankAccount.any_instance.stubs(:balance?).returns()).
Do people normal use the "any_instance.stubs" approach to stub out
existing classes already develop
On Oct 5, 2008, at 5:04 PM, Matt Wynne wrote:
On 5 Oct 2008, at 21:56, Scott Taylor wrote:
On Oct 5, 2008, at 4:47 PM, Matt Wynne wrote:
On 5 Oct 2008, at 12:26, Greg Hauptmann wrote:
BankAccount.any_instance.stubs(:balance?).returns()).
Do people normal use the "any_instance.stubs" appr
Scott Taylor <[EMAIL PROTECTED]> writes:
> On Oct 5, 2008, at 11:11 AM, Pat Maddox wrote:
>
>> Hey everyone,
>>
>> We're doing a panel on testing at the Voices That Matter conference
>> (http://www.voicesthatmatter.com/ruby2008/ - you should go :). Obie
>> set
>> up a google moderator thing [1] t
Hi guys,
I'll try to put some clarifying comments here re my question:
(a) "any_instance.stubs" - this already exists in Mocha
(http://mocha.rubyforge.org/classes/Class.html#M01)
(b) where I had "do people normal use the "any_instance.stubs"
approach to stub out existing classes already deve
21 matches
Mail list logo