[rspec-users] works in script but not in rake

Jonathan Linowes jonathan at parkerhill.com
Wed Oct 17 11:15:56 EDT 2007

On Oct 17, 2007, at 1:26 AM, David Chelimsky wrote:

> On 10/17/07, Jonathan Linowes <jonathan at parkerhill.com> wrote:
>> Hi,
>> This is weird
>> All my current spec examples are passing (about 750 of 'em) except a
>> set of 6 in a specific controller spec. I get the following failure
>> on each 6 when I run it via
>>     $ rake spec
> Do you have --reverse in your spec/spec.opts file? If so, the specs
> are being run in reverse order w/ rake, but not when you just run the
> file directly. This usually indicates that there is an undesirable
> dependency between examples in your specs.
> _______________________________________________
> rspec-users mailing list
> rspec-users at rubyforge.org
> http://rubyforge.org/mailman/listinfo/rspec-users

I renamed that particular action ("accept") and the error goes away,  
so apparently I had some namespace conflict in the controller

More information about the rspec-users mailing list