Fix assets path in ProjectsController legacy spec

Signed-off-by: Alex Coles <alex@alexbcoles.com>
pull/3011/head
Alex Coles 10 years ago
parent e4047301bb
commit dffaf63c38
  1. 2
      spec/legacy/functional/projects_controller_spec.rb

@ -456,7 +456,7 @@ describe ProjectsController, type: :controller do
it 'should hook response' do it 'should hook response' do
Redmine::Hook.add_listener(ProjectBasedTemplate) Redmine::Hook.add_listener(ProjectBasedTemplate)
get :show, id: 1 get :show, id: 1
assert_tag tag: 'link', attributes: { href: '/assets/ecookbook.css' }, assert_tag tag: 'link', attributes: { href: '/stylesheets/ecookbook.css' },
parent: { tag: 'head' } parent: { tag: 'head' }
Redmine::Hook.clear_listeners Redmine::Hook.clear_listeners

Loading…
Cancel
Save