mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Remove leftover blank sqlite3 file after in memory handler tests.
This commit is contained in:
parent
87d9228d9d
commit
ca82d47362
1 changed files with 2 additions and 0 deletions
|
@ -94,6 +94,7 @@ module ActiveRecord
|
|||
ActiveRecord::Base.configurations = @prev_configs
|
||||
ENV["RAILS_ENV"] = previous_env
|
||||
ActiveRecord::Base.establish_connection(:arunit)
|
||||
FileUtils.rm_rf "db"
|
||||
end
|
||||
|
||||
def test_establish_connection_using_2_level_config_defaults_to_default_env_primary_db
|
||||
|
@ -116,6 +117,7 @@ module ActiveRecord
|
|||
ActiveRecord::Base.configurations = @prev_configs
|
||||
ENV["RAILS_ENV"] = previous_env
|
||||
ActiveRecord::Base.establish_connection(:arunit)
|
||||
FileUtils.rm_rf "db"
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue