diff options
author | Luke "Jared" Bennett <lbennett@gitlab.com> | 2017-10-01 18:14:12 +0300 |
---|---|---|
committer | Luke "Jared" Bennett <lbennett@gitlab.com> | 2017-10-01 18:14:12 +0300 |
commit | feae8b2e44ee66c572efeab2575234de292ac01e (patch) | |
tree | 188411a148707f6b5231c393f30c415386115dde | |
parent | 9987aa099149d7ee956c0cff1a0812f5a76dd25f (diff) |
use LazyImageTagHelper.placeholder_image for blank src base64 image
-rw-r--r-- | spec/views/shared/issuable/_participants.html.haml.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/views/shared/issuable/_participants.html.haml.rb b/spec/views/shared/issuable/_participants.html.haml.rb index 0a123e83e2e..51059d4c0d7 100644 --- a/spec/views/shared/issuable/_participants.html.haml.rb +++ b/spec/views/shared/issuable/_participants.html.haml.rb @@ -19,7 +19,7 @@ describe 'shared/issuable/_participants.html.haml' do avatars.each do |avatar| expect(avatar[:class]).to include('lazy') - expect(avatar[:src]).to eql('data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==') + expect(avatar[:src]).to eql(LazyImageTagHelper.placeholder_image) expect(avatar[:"data-src"]).to match('http://www.gravatar.com/avatar/') end end |