Module: DatabaseCleaner::ActiveRecord

Defined in:
lib/database_cleaner/configuration.rb,
lib/database_cleaner/active_record/truncation.rb,
lib/database_cleaner/active_record/transaction.rb

Defined Under Namespace

Classes: Transaction, Truncation

Class Method Summary collapse

Class Method Details

.available_strategiesObject



8
9
10
# File 'lib/database_cleaner/configuration.rb', line 8

def self.available_strategies
  %w[truncation transaction]
end