diff options
author | utilum <oz@utilum.com> | 2018-03-31 23:33:38 +0200 |
---|---|---|
committer | utilum <oz@utilum.com> | 2018-04-01 08:30:37 +0200 |
commit | ca82d47362f5af0ab4cf2d902334c6a362caab83 (patch) | |
tree | 40a9a000079d0feb7fd4f853954c05ced4a1204f /activerecord/test | |
parent | 87d9228d9d2225296f68795ef685f617a844f4df (diff) | |
download | rails-ca82d47362f5af0ab4cf2d902334c6a362caab83.tar.gz rails-ca82d47362f5af0ab4cf2d902334c6a362caab83.tar.bz2 rails-ca82d47362f5af0ab4cf2d902334c6a362caab83.zip |
Remove leftover blank sqlite3 file after in memory handler tests.
Diffstat (limited to 'activerecord/test')
-rw-r--r-- | activerecord/test/cases/connection_adapters/connection_handler_test.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/activerecord/test/cases/connection_adapters/connection_handler_test.rb b/activerecord/test/cases/connection_adapters/connection_handler_test.rb index c06a4e2c52..f67c679fae 100644 --- a/activerecord/test/cases/connection_adapters/connection_handler_test.rb +++ b/activerecord/test/cases/connection_adapters/connection_handler_test.rb @@ -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 |