2010-05-16 20:45:31 +00:00
|
|
|
require 'database_cleaner/data_mapper/transaction'
|
2018-05-23 17:38:23 +00:00
|
|
|
require 'database_cleaner/spec'
|
2010-05-16 20:45:31 +00:00
|
|
|
#require 'data_mapper'
|
|
|
|
|
|
|
|
module DatabaseCleaner
|
|
|
|
module DataMapper
|
|
|
|
|
2018-05-01 02:31:44 +00:00
|
|
|
RSpec.describe Transaction do
|
2010-05-16 20:45:31 +00:00
|
|
|
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
|