fixed failing test

This commit is contained in:
haseeb 2018-03-03 16:13:53 +05:30
parent 097dc726d6
commit 45052a7215
1 changed files with 1 additions and 1 deletions

View File

@ -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