Permalink
Browse files

Merge pull request #13659 from prathamesh-sonpatki/fix-build

Restore DATABASE_URL even if it's nil in connection_handler test
  • Loading branch information...
guilleiguaran committed Jan 10, 2014
2 parents 8a5b480 + e633cdb commit 07f6a1cd945be421804f75bf06f95656ac5b121d
Showing with 1 addition and 1 deletion.
  1. +1 −1 activerecord/test/cases/connection_adapters/connection_handler_test.rb
@@ -14,7 +14,7 @@ def setup
end
def teardown
ENV["DATABASE_URL"] = @previous_database_url if @previous_database_url
ENV["DATABASE_URL"] = @previous_database_url
end
def test_string_connection

0 comments on commit 07f6a1c

Please sign in to comment.