Module: DatabaseCleaner::ActiveRecord
- Defined in:
- lib/database_cleaner/active_record/base.rb,
lib/database_cleaner/active_record/version.rb,
lib/database_cleaner/active_record/deletion.rb,
lib/database_cleaner/active_record/truncation.rb,
lib/database_cleaner/active_record/transaction.rb
Defined Under Namespace
Classes: Base, Deletion, Transaction, Truncation
Constant Summary
collapse
- VERSION =
"2.2.0"
Class Method Summary
collapse
Class Method Details
.config_file_location ⇒ Object
12
13
14
|
# File 'lib/database_cleaner/active_record/base.rb', line 12
def self.config_file_location
@config_file_location ||= "#{Dir.pwd}/config/database.yml"
end
|
.config_file_location=(path) ⇒ Object
8
9
10
|
# File 'lib/database_cleaner/active_record/base.rb', line 8
def self.config_file_location=(path)
@config_file_location = path
end
|