On Tue, Sep 1, 2009 at 10:02 PM, Brian Cardarella<[email protected]> wrote: > I have this example: > > http://pastie.org/602476 > > If I run it, it on the 2nd 'Country.count.should == 0'
There's a verb missing :) I think you mean that "If I run it, it _fails_ on the 2nd ...", yes? What is the failure message you're getting? Does it say "expected 0, got 1" or is there some other error? > > If I run the exact same code in 'script/console test' (so in the same > environment) it works just fine. But not within an RSepc example. Any > thoughts? > _______________________________________________ > rspec-users mailing list > [email protected] > http://rubyforge.org/mailman/listinfo/rspec-users > _______________________________________________ rspec-users mailing list [email protected] http://rubyforge.org/mailman/listinfo/rspec-users
