Sha256: 9340d6c04b0366642577613acd8e187559a6f48286d316045f6c591e1865756a

Contents?: true

Size: 397 Bytes

Versions: 15

Compression:

Stored size: 397 Bytes

Contents

module ::DatabaseCleaner
   module Generic
     module Base

       def self.included(base)
         base.extend(ClassMethods)
         base.send(:include, InstanceMethods)
       end

       module InstanceMethods
         def db
           :default
         end
       end

       module ClassMethods
         def available_strategies
           %W[]
         end
       end
     end
   end
end

Version data entries

15 entries across 15 versions & 2 rubygems

Version Path
radiant-1.0.0 ruby-debug/ruby/1.8/gems/database_cleaner-0.6.7/lib/database_cleaner/generic/base.rb
database_cleaner-0.6.7 lib/database_cleaner/generic/base.rb
database_cleaner-0.6.7.RC lib/database_cleaner/generic/base.rb
database_cleaner-0.6.6 lib/database_cleaner/generic/base.rb
database_cleaner-0.6.5 lib/database_cleaner/generic/base.rb
database_cleaner-0.6.4 lib/database_cleaner/generic/base.rb
database_cleaner-0.6.3 lib/database_cleaner/generic/base.rb
database_cleaner-0.6.2 lib/database_cleaner/generic/base.rb
database_cleaner-0.6.1 lib/database_cleaner/generic/base.rb
database_cleaner-0.6.1.rc2 lib/database_cleaner/generic/base.rb
database_cleaner-0.6.1.rc lib/database_cleaner/generic/base.rb
database_cleaner-0.6.0 lib/database_cleaner/generic/base.rb
database_cleaner-0.6.0.rc.3 lib/database_cleaner/generic/base.rb
database_cleaner-0.6.0.rc.2 lib/database_cleaner/generic/base.rb
database_cleaner-0.6.0.rc.1 lib/database_cleaner/generic/base.rb