24 lines
545 B
Ruby
24 lines
545 B
Ruby
![]() |
require File.dirname(__FILE__) + '/../../spec_helper'
|
||
|
require 'database_cleaner/data_mapper/transaction'
|
||
|
require 'database_cleaner/shared_strategy_spec'
|
||
|
#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"
|
||
|
|
||
|
describe "start" do
|
||
|
it "should start a transaction"
|
||
|
end
|
||
|
|
||
|
describe "clean" do
|
||
|
it "should finish a transaction"
|
||
|
end
|
||
|
end
|
||
|
|
||
|
end
|
||
|
end
|