diff options
author | Josh Kalderimis <josh.kalderimis@gmail.com> | 2010-11-15 16:57:20 +0100 |
---|---|---|
committer | José Valim <jose.valim@gmail.com> | 2010-11-16 00:04:37 +0100 |
commit | 6a609dbc82d03eb92a85970aa157192657f14882 (patch) | |
tree | 555a8029cef31d2c5172c17df14512c699de6af7 /actionpack/test | |
parent | 6747ae2708d2ad8a482f3dfcb346d007a51af77a (diff) | |
download | rails-6a609dbc82d03eb92a85970aa157192657f14882.tar.gz rails-6a609dbc82d03eb92a85970aa157192657f14882.tar.bz2 rails-6a609dbc82d03eb92a85970aa157192657f14882.zip |
incorporated most of the feedback from José
Diffstat (limited to 'actionpack/test')
-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 7c54539cf4..139d832c5f 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.javascript_expansions.clear + JavascriptIncludeTag.expansions.clear assert_raise(ArgumentError) { javascript_include_tag(:defaults) } end @@ -948,7 +948,7 @@ class AssetTagHelperNonVhostTest < ActionView::TestCase @request = Struct.new(:protocol).new("gopher://") @controller.request = @request - ActionView::Helpers::AssetTagHelper.javascript_expansions.clear + JavascriptIncludeTag.expansions.clear end def url_for(options) |