Sha256: e9a68660e3778167bd2c95b5bdbcf6ff2b8dc31bf4c9f8e2284307cec2facc81

Contents?: true

Size: 342 Bytes

Versions: 46

Compression:

Stored size: 342 Bytes

Contents

shared_examples_for "a generic strategy" do
  it { should respond_to(:db)  }
end

shared_examples_for "a generic truncation strategy" do
  it { should respond_to(:start) }
  it { should respond_to(:clean) }
end

shared_examples_for "a generic transaction strategy" do
  it { should respond_to(:start) }
  it { should respond_to(:clean) }
end

Version data entries

46 entries across 35 versions & 6 rubygems

Version Path
database_cleaner-0.6.1.rc2 spec/database_cleaner/shared_strategy_spec.rb
database_cleaner-0.6.1.rc spec/database_cleaner/shared_strategy_spec.rb
database_cleaner-0.6.0 spec/database_cleaner/shared_strategy_spec.rb
database_cleaner-0.6.0.rc.3 spec/database_cleaner/shared_strategy_spec.rb
database_cleaner-0.6.0.rc.2 spec/database_cleaner/shared_strategy_spec.rb
database_cleaner-0.6.0.rc.1 spec/database_cleaner/shared_strategy_spec.rb