From db8eeaff06009deac2d34337942a8b8414dfd7ba Mon Sep 17 00:00:00 2001 From: Guillermo Iguaran Date: Sun, 5 Jun 2011 00:58:37 -0500 Subject: Allow multiple sources in Sprockets helpers --- actionpack/test/template/sprockets_helper_test.rb | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'actionpack/test/template') diff --git a/actionpack/test/template/sprockets_helper_test.rb b/actionpack/test/template/sprockets_helper_test.rb index ebb7e48d70..b1317d0a35 100644 --- a/actionpack/test/template/sprockets_helper_test.rb +++ b/actionpack/test/template/sprockets_helper_test.rb @@ -94,6 +94,9 @@ class SprocketsHelperTest < ActionView::TestCase assert_equal "\n", javascript_include_tag(:application, :debug => true) + + assert_equal "\n", + javascript_include_tag("xmlhr", "extra") end test "stylesheet path" do @@ -127,5 +130,8 @@ class SprocketsHelperTest < ActionView::TestCase assert_equal "\n", stylesheet_link_tag(:application, :debug => true) + + assert_equal "\n", + stylesheet_link_tag("style", "extra") end end -- cgit v1.2.3