Read about our upcoming Code of Conduct on this issue

Unverified Commit feae8b2e authored by Luke "Jared" Bennett's avatar Luke "Jared" Bennett
Browse files

use LazyImageTagHelper.placeholder_image for blank src base64 image

parent 3cd3dec0740c
......@@ -19,7 +19,7 @@
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
......
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