From d42c57caac65f96bf382001b51fe1ca5aca0c2b7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Oliver=20G=C3=BCnther?= Date: Tue, 21 Feb 2017 13:11:07 +0100 Subject: [PATCH] Fix asset path --- spec/views/layouts/base.html.erb_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/views/layouts/base.html.erb_spec.rb b/spec/views/layouts/base.html.erb_spec.rb index 97819c9297..53f7311e26 100644 --- a/spec/views/layouts/base.html.erb_spec.rb +++ b/spec/views/layouts/base.html.erb_spec.rb @@ -142,7 +142,7 @@ describe 'layouts/base', type: :view do it 'renders main favicon' do expect(rendered).to have_selector( - "link[type='image/x-icon'][href='/assets/favicon.ico']", + "link[type='image/x-icon'][href*='#{OpenProject::Design.favicon_asset_path}']", visible: false ) end