diff options
author | Valery Sizov <valery@gitlab.com> | 2015-11-30 17:12:31 +0300 |
---|---|---|
committer | Valery Sizov <valery@gitlab.com> | 2015-11-30 17:12:31 +0300 |
commit | e92ceb7b57139e985674a44cfe75534c52ed4acd (patch) | |
tree | e4541606093f122532dfaaf7f460c30162771f31 /spec/helpers | |
parent | 461731f0769a826d00c4d5846ff6d2f55fd4b829 (diff) |
fix specs
Diffstat (limited to 'spec/helpers')
-rw-r--r-- | spec/helpers/application_helper_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/helpers/application_helper_spec.rb b/spec/helpers/application_helper_spec.rb index 1dfae0fbd3f..4b8000ecc44 100644 --- a/spec/helpers/application_helper_spec.rb +++ b/spec/helpers/application_helper_spec.rb @@ -59,7 +59,7 @@ describe ApplicationHelper do avatar_url = "http://localhost/uploads/project/avatar/#{project.id}/banana_sample.gif" expect(helper.project_icon("#{project.namespace.to_param}/#{project.to_param}").to_s). - to eq "<img alt=\"Banana sample\" src=\"#{avatar_url}\" />" + to eq "<img src=\"#{avatar_url}\" alt=\"Banana sample\" />" end it 'should give uploaded icon when present' do |