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

David Chelimsky dchelimsky at gmail.com
Wed Oct 17 01:26:34 EDT 2007

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.

More information about the rspec-users mailing list