From feae8b2e44ee66c572efeab2575234de292ac01e Mon Sep 17 00:00:00 2001 From: "Luke \"Jared\" Bennett" Date: Sun, 1 Oct 2017 16:14:12 +0100 Subject: use LazyImageTagHelper.placeholder_image for blank src base64 image --- spec/views/shared/issuable/_participants.html.haml.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.1