diff options
Diffstat (limited to 'test/integration/layout_test.rb')
-rw-r--r-- | test/integration/layout_test.rb | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/test/integration/layout_test.rb b/test/integration/layout_test.rb index 0e6fa24e8..fd9ddc28e 100644 --- a/test/integration/layout_test.rb +++ b/test/integration/layout_test.rb @@ -65,9 +65,7 @@ class LayoutTest < ActionDispatch::IntegrationTest Role.anonymous.add_permission! :add_issues get '/projects/ecookbook/issues/new' - assert_tag :script, - :attributes => {:src => %r{^/javascripts/jstoolbar/jstoolbar-textile.min.js}}, - :parent => {:tag => 'head'} + assert_select 'head script[src=?]', '/javascripts/jstoolbar/jstoolbar-textile.min.js' end def test_calendar_header_tags |