From f16cd7220ff94ea2ec5b9b8a7db02af0b5365858 Mon Sep 17 00:00:00 2001 From: Jeremy Kemper Date: Thu, 20 Dec 2007 22:27:37 +0000 Subject: Ruby 1.9 compat: ENV.delete rather than assigning nil git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8452 5ecf4fe2-1ee6-0310-87b1-e25e094e27de --- actionpack/test/template/asset_tag_helper_test.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'actionpack/test') diff --git a/actionpack/test/template/asset_tag_helper_test.rb b/actionpack/test/template/asset_tag_helper_test.rb index ac21bc2a33..a836962678 100644 --- a/actionpack/test/template/asset_tag_helper_test.rb +++ b/actionpack/test/template/asset_tag_helper_test.rb @@ -46,7 +46,7 @@ class AssetTagHelperTest < Test::Unit::TestCase def teardown ActionController::Base.perform_caching = false ActionController::Base.asset_host = nil - ENV["RAILS_ASSET_ID"] = nil + ENV.delete('RAILS_ASSET_ID') end AutoDiscoveryToTag = { -- cgit v1.2.3