database_cleaner/lib/database_cleaner.rb

9 lines
273 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
def self.can_detect_orm?
DatabaseCleaner::Base.autodetect_orm
end
end