Return connection class

This method is used in the `#connection_class` method and should return a class after establishing the connection
This commit is contained in:
Samuel Esposito 2017-04-21 09:09:36 +02:00
parent a2cb626c5e
commit ccc0165ed7

View file

@ -69,6 +69,7 @@ module DatabaseCleaner
def establish_connection
::ActiveRecord::Base.establish_connection(connection_hash)
::ActiveRecord::Base
end
end