From dffaf63c38ad79ecd6b8fa2c86e94e3bffb62538 Mon Sep 17 00:00:00 2001 From: Alex Coles Date: Sun, 17 May 2015 12:39:15 +0200 Subject: [PATCH] Fix assets path in ProjectsController legacy spec Signed-off-by: Alex Coles --- spec/legacy/functional/projects_controller_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/legacy/functional/projects_controller_spec.rb b/spec/legacy/functional/projects_controller_spec.rb index 11ae19ce33..b1247679a6 100644 --- a/spec/legacy/functional/projects_controller_spec.rb +++ b/spec/legacy/functional/projects_controller_spec.rb @@ -456,7 +456,7 @@ describe ProjectsController, type: :controller do it 'should hook response' do Redmine::Hook.add_listener(ProjectBasedTemplate) 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' } Redmine::Hook.clear_listeners