diff --git a/lib/database_cleaner/active_record/base.rb b/lib/database_cleaner/active_record/base.rb index 85bf50b..d2fe82f 100644 --- a/lib/database_cleaner/active_record/base.rb +++ b/lib/database_cleaner/active_record/base.rb @@ -69,6 +69,7 @@ module DatabaseCleaner def establish_connection ::ActiveRecord::Base.establish_connection(connection_hash) + ::ActiveRecord::Base end end