aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--activerecord/test/cases/connection_adapters/connection_handler_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/test/cases/connection_adapters/connection_handler_test.rb b/activerecord/test/cases/connection_adapters/connection_handler_test.rb
index 3365ad1294..318cc5a32c 100644
--- a/activerecord/test/cases/connection_adapters/connection_handler_test.rb
+++ b/activerecord/test/cases/connection_adapters/connection_handler_test.rb
@@ -14,7 +14,7 @@ module ActiveRecord
end
def teardown
- ENV["DATABASE_URL"] = @previous_database_url if @previous_database_url
+ ENV["DATABASE_URL"] = @previous_database_url
end
def test_string_connection