Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhaseeb <haseebeqx@yahoo.com>2018-03-03 13:43:53 +0300
committerhaseeb <haseebeqx@yahoo.com>2018-03-03 13:43:53 +0300
commit45052a7215cb30dfea29912539e48700969c5120 (patch)
treec88e075c1ef3943c4edcdf090b49de52ca79aa69 /spec/helpers
parent097dc726d6ed8f8cfe1e55e47e60d7c813882402 (diff)
fixed failing test
Diffstat (limited to 'spec/helpers')
-rw-r--r--spec/helpers/icons_helper_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/helpers/icons_helper_spec.rb b/spec/helpers/icons_helper_spec.rb
index d87c81a28d1..93d8e672f8c 100644
--- a/spec/helpers/icons_helper_spec.rb
+++ b/spec/helpers/icons_helper_spec.rb
@@ -166,7 +166,7 @@ describe IconsHelper do
describe '#external_snippet_icon' do
it 'returns external snippet icon' do
expect(external_snippet_icon('download').to_s)
- .to eq("<img src=\"#{asset_url('/assets/ext_snippet_icons/download.png')}\" width=\"16px\" height=\"16px\"></img>")
+ .to eq("<span class=\"gl-snippet-icon gl-snippet-icon-download\"></span>")
end
end
end