diff options
Diffstat (limited to 'test/integration/lib/redmine/hook_test.rb')
-rw-r--r-- | test/integration/lib/redmine/hook_test.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/test/integration/lib/redmine/hook_test.rb b/test/integration/lib/redmine/hook_test.rb index f0520b58e..9e5c5bbb1 100644 --- a/test/integration/lib/redmine/hook_test.rb +++ b/test/integration/lib/redmine/hook_test.rb @@ -76,8 +76,7 @@ VIEW Redmine::Hook.add_listener(ProjectBasedTemplate) get '/projects/ecookbook' - assert_tag :tag => 'link', :attributes => {:href => '/stylesheets/ecookbook.css'}, - :parent => {:tag => 'head'} + assert_select 'head link[href=?]', '/stylesheets/ecookbook.css' end def test_empty_sidebar_should_be_hidden |