use LazyImageTagHelper.placeholder_image for blank src base64 image

This commit is contained in:
Luke "Jared" Bennett 2017-10-01 16:14:12 +01:00
parent 9987aa0991
commit feae8b2e44
No known key found for this signature in database
GPG Key ID: 402ED51FB5D306C2
1 changed files with 1 additions and 1 deletions

View File

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