diff options
author | José Valim <jose.valim@gmail.com> | 2010-06-23 01:34:25 +0200 |
---|---|---|
committer | José Valim <jose.valim@gmail.com> | 2010-06-23 01:34:25 +0200 |
commit | ed5c096d60efc432d6f731f86a8ea3c2cb9aeb64 (patch) | |
tree | c96a15b6e0d8ff6c7f79250957afde0b58f103fb /actionpack/test/template | |
parent | 97b773303d1fd3c585957b9d4d2bf9485664f892 (diff) | |
download | rails-ed5c096d60efc432d6f731f86a8ea3c2cb9aeb64.tar.gz rails-ed5c096d60efc432d6f731f86a8ea3c2cb9aeb64.tar.bz2 rails-ed5c096d60efc432d6f731f86a8ea3c2cb9aeb64.zip |
Tidy up asset tag a bit and make railties tests green again.
Diffstat (limited to 'actionpack/test/template')
-rw-r--r-- | actionpack/test/template/asset_tag_helper_test.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/actionpack/test/template/asset_tag_helper_test.rb b/actionpack/test/template/asset_tag_helper_test.rb index 620f975dec..6d5e4893c4 100644 --- a/actionpack/test/template/asset_tag_helper_test.rb +++ b/actionpack/test/template/asset_tag_helper_test.rb @@ -274,7 +274,7 @@ class AssetTagHelperTest < ActionView::TestCase end def test_reset_javascript_expansions - ActionView::Helpers::AssetTagHelper::reset_javascript_expansions + ActionView::Helpers::AssetTagHelper.javascript_expansions.clear assert_raise(ArgumentError) { javascript_include_tag(:defaults) } end @@ -915,7 +915,7 @@ class AssetTagHelperNonVhostTest < ActionView::TestCase @request = Struct.new(:protocol).new("gopher://") @controller.request = @request - ActionView::Helpers::AssetTagHelper::reset_javascript_expansions + ActionView::Helpers::AssetTagHelper.javascript_expansions.clear end def url_for(options) |