2010-05-16 20:45:31 +00:00
|
|
|
require 'database_cleaner/data_mapper/transaction'
|
2012-07-08 10:51:27 +00:00
|
|
|
require 'database_cleaner/shared_strategy'
|
2010-05-16 20:45:31 +00:00
|
|
|
#require 'data_mapper'
|
|
|
|
|
|
|
|
module DatabaseCleaner
|
|
|
|
module DataMapper
|
|
|
|
|
|
|
|
describe Transaction do
|
|
|
|
it_should_behave_like "a generic strategy"
|
|
|
|
it_should_behave_like "a generic transaction strategy"
|
2010-05-31 03:12:58 +00:00
|
|
|
|
2010-05-16 20:45:31 +00:00
|
|
|
describe "start" do
|
|
|
|
it "should start a transaction"
|
|
|
|
end
|
2010-05-31 03:12:58 +00:00
|
|
|
|
2010-05-16 20:45:31 +00:00
|
|
|
describe "clean" do
|
|
|
|
it "should finish a transaction"
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|