database_cleaner/lib/database_cleaner.rb

13 lines
361 B
Ruby
Raw Normal View History

$LOAD_PATH.unshift(File.expand_path(File.dirname(__FILE__))) unless $LOAD_PATH.include?(File.expand_path(File.dirname(__FILE__)))
require 'database_cleaner/configuration'
2013-05-27 17:53:36 -04:00
module DatabaseCleaner
class << self
attr_accessor :allow_remote_database_url, :allow_production
def can_detect_orm?
DatabaseCleaner::Base.autodetect_orm
end
2013-05-27 17:53:36 -04:00
end
end