Module: Mack::Testing

Included in:
Spec::Example::ExampleMethods, Test::Unit::TestCase
Defined in:
lib/mack-orm/test_extensions.rb,
lib/mack-orm/test_extensions.rb

Overview

:nodoc:

Instance Method Summary collapse

Instance Method Details

#rollback_transactionObject

Implement this method to give transactional test support to both RSpec and Test::Unit::TestCase for your ORM.



19
20
21
# File 'lib/mack-orm/test_extensions.rb', line 19

def rollback_transaction
  yield
end