diff --git a/lib/database_cleaner/configuration.rb b/lib/database_cleaner/cleaners.rb similarity index 100% rename from lib/database_cleaner/configuration.rb rename to lib/database_cleaner/cleaners.rb diff --git a/lib/database_cleaner/core.rb b/lib/database_cleaner/core.rb index 9f02ba0..dd380b7 100644 --- a/lib/database_cleaner/core.rb +++ b/lib/database_cleaner/core.rb @@ -1,6 +1,5 @@ require 'database_cleaner/version' -require 'database_cleaner/configuration' -require 'database_cleaner/deprecation' +require 'database_cleaner/cleaners' require 'forwardable' module DatabaseCleaner @@ -14,7 +13,7 @@ module DatabaseCleaner :clean, :clean_with, :cleaning, - ] => :configuration + ] => :cleaners attr_accessor :allow_remote_database_url, :allow_production, :url_whitelist diff --git a/spec/database_cleaner/configuration_spec.rb b/spec/database_cleaner/cleaners_spec.rb similarity index 100% rename from spec/database_cleaner/configuration_spec.rb rename to spec/database_cleaner/cleaners_spec.rb