Sha256: cd204e630e03710caf37c5a6cc61e5b5c1c21a1ccbb839056bf9885ada97deed

Contents?: true

Size: 266 Bytes

Versions: 4

Compression:

Stored size: 266 Bytes

Contents

module DatabaseCleaner
  class NullStrategy
    def self.start
      # no-op
    end
    
     def self.db=(connection)
       # no-op
     end
     
    def self.clean
      # no-op
    end

    def self.cleaning(&block)
      # no-op
      yield
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
database_cleaner-1.7.0 lib/database_cleaner/null_strategy.rb
database_cleaner-1.6.2 lib/database_cleaner/null_strategy.rb
database_cleaner-1.6.1 lib/database_cleaner/null_strategy.rb
database_cleaner-1.6.0 lib/database_cleaner/null_strategy.rb