mirror of
https://github.com/DatabaseCleaner/database_cleaner
synced 2023-03-27 23:22:03 -04:00
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:
parent
a2cb626c5e
commit
ccc0165ed7
1 changed files with 1 additions and 0 deletions
|
@ -69,6 +69,7 @@ module DatabaseCleaner
|
||||||
|
|
||||||
def establish_connection
|
def establish_connection
|
||||||
::ActiveRecord::Base.establish_connection(connection_hash)
|
::ActiveRecord::Base.establish_connection(connection_hash)
|
||||||
|
::ActiveRecord::Base
|
||||||
end
|
end
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue