1
0
Fork 0
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:
utilum 2018-03-31 23:33:38 +02:00
parent 87d9228d9d
commit ca82d47362

View file

@ -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