Sha256: 45267d978dc3c5ba88f71ab73121269ff6583795c67a290b53eed459ee72d27e

Contents?: true

Size: 492 Bytes

Versions: 9

Compression:

Stored size: 492 Bytes

Contents

RSpec.shared_examples_for "a generic strategy" do
  it { is_expected.to respond_to(:db)  }
end

RSpec.shared_examples_for "a generic truncation strategy" do
  it { is_expected.to respond_to(:start) }
  it { is_expected.to respond_to(:clean) }
  it { is_expected.to respond_to(:cleaning) }
end

RSpec.shared_examples_for "a generic transaction strategy" do
  it { is_expected.to respond_to(:start) }
  it { is_expected.to respond_to(:clean) }
  it { is_expected.to respond_to(:cleaning) }
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
database_cleaner-1.99.0 lib/database_cleaner/spec/shared_examples.rb
database_cleaner-1.99.0.beta lib/database_cleaner/spec/shared_examples.rb
database_cleaner-1.8.5 lib/database_cleaner/spec/shared_examples.rb
database_cleaner-1.8.4 lib/database_cleaner/spec/shared_examples.rb
database_cleaner-1.8.3 lib/database_cleaner/spec/shared_examples.rb
database_cleaner-1.8.2 lib/database_cleaner/spec/shared_examples.rb
database_cleaner-1.8.1 lib/database_cleaner/spec/shared_examples.rb
database_cleaner-1.8.0 lib/database_cleaner/spec/shared_examples.rb
database_cleaner-1.8.0.beta lib/database_cleaner/spec/shared_examples.rb