Re: [rspec-users] Issue with ActiveRecord::Base.transaction in RSpec

2009-09-02 Thread David Chelimsky
On Wed, Sep 2, 2009 at 2:19 AM, Brian Cardarella 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. Cool - let us know. Cheers, David > > - Brian > > On Sep 2

Re: [rspec-users] Issue with ActiveRecord::Base.transaction in RSpec

2009-09-02 Thread Brian Cardarella
False alarm, it was because of Sqlite3. Sorry! - Brian On Sep 2, 3:19 am, Brian Cardarella 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 >

Re: [rspec-users] Issue with ActiveRecord::Base.transaction in RSpec

2009-09-02 Thread Brian Cardarella
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 wrote: > On Tue, Sep 1, 2009 at 10:02 PM, Brian Cardarella > wrote: > > I have

Re: [rspec-users] Issue with ActiveRecord::Base.transaction in RSpec

2009-09-02 Thread David Chelimsky
On Tue, Sep 1, 2009 at 10:02 PM, Brian Cardarella 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

[rspec-users] Issue with ActiveRecord::Base.transaction in RSpec

2009-09-02 Thread Brian Cardarella
I have this example: http://pastie.org/602476 If I run it, it on the 2nd 'Country.count.should == 0' 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? _