diff --git a/actionpack/test/template/asset_tag_helper_test.rb b/actionpack/test/template/asset_tag_helper_test.rb
index 57802ebf42a39c781fcabfd38c962a5cc61d47d3..5fe2c4df244489ca075fa6755266533bb0b5a678 100644
--- a/actionpack/test/template/asset_tag_helper_test.rb
+++ b/actionpack/test/template/asset_tag_helper_test.rb
@@ -86,11 +86,11 @@ def teardown
%(javascript_include_tag("bank.js")) => %(),
%(javascript_include_tag("bank", :lang => "vbscript")) => %(),
%(javascript_include_tag("common.javascript", "/elsewhere/cools")) => %(\n),
- %(javascript_include_tag(:defaults)) => %(\n\n\n\n),
+ %(javascript_include_tag(:defaults)) => %(\n\n\n\n\n),
%(javascript_include_tag(:all)) => %(\n\n\n\n\n\n\n),
%(javascript_include_tag(:all, :recursive => true)) => %(\n\n\n\n\n\n\n\n),
- %(javascript_include_tag(:defaults, "bank")) => %(\n\n\n\n\n),
- %(javascript_include_tag("bank", :defaults)) => %(\n\n\n\n\n),
+ %(javascript_include_tag(:defaults, "bank")) => %(\n\n\n\n\n\n),
+ %(javascript_include_tag("bank", :defaults)) => %(\n\n\n\n\n\n),
%(javascript_include_tag("http://example.com/all")) => %(),
%(javascript_include_tag("http://example.com/all.js")) => %(),
@@ -235,7 +235,7 @@ def test_javascript_include_tag_with_missing_source
def test_javascript_include_tag_with_given_asset_id
ENV["RAILS_ASSET_ID"] = "1"
- assert_dom_equal(%(\n\n\n\n), javascript_include_tag(:defaults))
+ assert_dom_equal(%(\n\n\n\n\n), javascript_include_tag(:defaults))
end
def test_javascript_include_tag_is_html_safe
@@ -246,14 +246,14 @@ def test_javascript_include_tag_is_html_safe
def test_register_javascript_include_default
ENV["RAILS_ASSET_ID"] = ""
ActionView::Helpers::AssetTagHelper::register_javascript_include_default 'bank'
- assert_dom_equal %(\n\n\n\n\n), javascript_include_tag(:defaults)
+ assert_dom_equal %(\n\n\n\n\n\n), javascript_include_tag(:defaults)
end
def test_register_javascript_include_default_mixed_defaults
ENV["RAILS_ASSET_ID"] = ""
ActionView::Helpers::AssetTagHelper::register_javascript_include_default 'bank'
ActionView::Helpers::AssetTagHelper::register_javascript_include_default 'robber', '/elsewhere/cools.js'
- assert_dom_equal %(\n\n\n\n\n\n\n), javascript_include_tag(:defaults)
+ assert_dom_equal %(\n\n\n\n\n\n\n\n), javascript_include_tag(:defaults)
end
def test_custom_javascript_expansions
@@ -265,7 +265,7 @@ def test_custom_javascript_expansions
def test_custom_javascript_expansions_and_defaults_puts_application_js_at_the_end
ENV["RAILS_ASSET_ID"] = ""
ActionView::Helpers::AssetTagHelper::register_javascript_expansion :robbery => ["bank", "robber"]
- assert_dom_equal %(\n\n\n\n\n\n\n\n), javascript_include_tag('controls',:defaults, :robbery, 'effects')
+ assert_dom_equal %(\n\n\n\n\n\n\n\n\n), javascript_include_tag('controls',:defaults, :robbery, 'effects')
end
def test_custom_javascript_expansions_with_undefined_symbol