False alarm, it was because of Sqlite3. Sorry! - Brian
On Sep 2, 3:19 am, Brian Cardarella <[email protected]> wrote: > Dave, > > Yes, verb failure :) > > I think this might be an issue of me using Sqlite3 as my DB. Let me > port over to Postgres and test that out. Hopefully just a false alarm. > > - Brian > > On Sep 2, 3:11 am, David Chelimsky <[email protected]> wrote: > > > > > 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 > > _______________________________________________ > 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
