[rspec-users] RSpec, Rails, ObjectDaddy and transactions
dchelimsky at gmail.com
Fri Sep 26 19:21:00 EDT 2008
On Fri, Sep 26, 2008 at 1:42 PM, Mark Wilden <mark at mwilden.com> wrote:
> On Fri, Sep 26, 2008 at 9:49 AM, Scott Taylor
> <mailing_lists at railsnewbie.com> wrote:
>> On Sep 26, 2008, at 12:38 PM, Tim Glen wrote:
>>> Oh, and I do have this line in my spec_helper:
>>> config.use_transactional_fixtures = true
>>> I assume that only does anything to fixtures, specifically
>> No. That tells rspec/ test::unit to start a transaction at the start of
>> every test case, and issue a rollback when it's over.
> #use_transactional_fixtures seems misnamed. Ticket filed.
I agree it's the wrong name, but it's the one Rails uses (RSpec just
delegates over to Rails).
> rspec-users mailing list
> rspec-users at rubyforge.org
More information about the rspec-users