Commit feae8b2e authored by Luke "Jared" Bennett's avatar Luke "Jared" Bennett

use LazyImageTagHelper.placeholder_image for blank src base64 image

parent 9987aa09
...@@ -19,7 +19,7 @@ describe 'shared/issuable/_participants.html.haml' do ...@@ -19,7 +19,7 @@ describe 'shared/issuable/_participants.html.haml' do
avatars.each do |avatar| avatars.each do |avatar|
expect(avatar[:class]).to include('lazy') 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/') expect(avatar[:"data-src"]).to match('http://www.gravatar.com/avatar/')
end end
end end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment