Module: DatabaseCleaner::DataMapper

Defined in:
lib/database_cleaner/data_mapper/base.rb,
lib/database_cleaner/data_mapper/truncation.rb,
lib/database_cleaner/data_mapper/transaction.rb

Defined Under Namespace

Modules: Base Classes: Transaction, Truncation

Class Method Summary (collapse)

Class Method Details

+ (Object) available_strategies



4
5
6
# File 'lib/database_cleaner/data_mapper/base.rb', line 4

def self.available_strategies
  %w[truncation transaction]
end