diff options
author | Tim Zallmann <tzallmann@gitlab.com> | 2017-11-09 16:15:07 +0100 |
---|---|---|
committer | Tim Zallmann <tzallmann@gitlab.com> | 2017-11-09 16:15:07 +0100 |
commit | fb1b88de1b64789f40b3775360d668821d6a5953 (patch) | |
tree | 45f1ac76c043a1a051657573bf7365b9cff0fb03 /spec/helpers | |
parent | 687e7dea5df7d0d53d48b49cc593b2bcb3c4ef93 (diff) | |
download | gitlab-ce-fb1b88de1b64789f40b3775360d668821d6a5953.tar.gz |
Missing the local url
Diffstat (limited to 'spec/helpers')
-rw-r--r-- | spec/helpers/icons_helper_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/helpers/icons_helper_spec.rb b/spec/helpers/icons_helper_spec.rb index c28f986f0e0..ddefc3862ae 100644 --- a/spec/helpers/icons_helper_spec.rb +++ b/spec/helpers/icons_helper_spec.rb @@ -31,7 +31,7 @@ describe IconsHelper do it 'returns an absolute URL on that asset host' do expect(sprite_icon_path()) - .to eq icons_path() + .to eq ActionController::Base.helpers.image_path("icons.svg", host: Gitlab.config.gitlab.url) end end end @@ -162,6 +162,6 @@ describe IconsHelper do end def icons_path - ActionController::Base.helpers.image_path("icons.svg", host: Gitlab.config.gitlab.url) + ActionController::Base.helpers.image_path("icons.svg") end end |