Sha256: 946ee8cee7a7ef11916769094868ab9caf476cc8848df41c5ca32ae9eed12c6a
Contents?: true
Size: 503 Bytes
Versions: 13
Compression:
Stored size: 503 Bytes
Contents
require 'spec_helper' require 'database_cleaner/shared_strategy' require 'database_cleaner/generic/base' module ::DatabaseCleaner module Generic class ExampleStrategy include ::DatabaseCleaner::Generic::Base end describe ExampleStrategy do context "class methods" do subject { ExampleStrategy } its(:available_strategies) { should be_empty } end it_should_behave_like "a generic strategy" its(:db) { should eq :default } end end end
Version data entries
13 entries across 8 versions & 3 rubygems