Sha256: 6a4cbe7ffef9ab7dc8999bd373078c9820f8316c5b9167677963aae43b1d6807

Contents?: true

Size: 530 Bytes

Versions: 4

Compression:

Stored size: 530 Bytes

Contents

require 'spec_helper'
require 'database_cleaner/shared_strategy_spec'
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 == :default }
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
surgical_strike-0.7.7 spec/database_cleaner/generic/base_spec.rb
surgical_strike-0.7.6 spec/database_cleaner/generic/base_spec.rb
surgical_strike-0.7.5 spec/database_cleaner/generic/base_spec.rb
surgical_strike-0.7.4 spec/database_cleaner/generic/base_spec.rb