diff options
author | Douwe Maan <douwe@selenight.nl> | 2018-04-25 17:32:47 +0200 |
---|---|---|
committer | Douwe Maan <douwe@selenight.nl> | 2018-04-25 17:32:51 +0200 |
commit | fcc41fe39618cb9d5effaebe7a99d635a8700d07 (patch) | |
tree | c6f2ce112626a4ebded1e955f0e8ac8ff1a0d381 /spec/support/commit_trailers_spec_helper.rb | |
parent | 627eba55d63daf7e725edc5425debfc3890f2f9f (diff) | |
download | gitlab-ce-fcc41fe39618cb9d5effaebe7a99d635a8700d07.tar.gz |
Fix commit trailer rendering when Gravatar is disabled
Diffstat (limited to 'spec/support/commit_trailers_spec_helper.rb')
-rw-r--r-- | spec/support/commit_trailers_spec_helper.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/support/commit_trailers_spec_helper.rb b/spec/support/commit_trailers_spec_helper.rb index add359946db..efa317fd2f9 100644 --- a/spec/support/commit_trailers_spec_helper.rb +++ b/spec/support/commit_trailers_spec_helper.rb @@ -8,7 +8,7 @@ module CommitTrailersSpecHelper expect(wrapper.attribute('data-user').value).to eq user.id.to_s end - def expect_to_have_mailto_link(doc, email:, trailer:) + def expect_to_have_mailto_link_with_avatar(doc, email:, trailer:) wrapper = find_user_wrapper(doc, trailer) expect_to_have_links_with_url_and_avatar(wrapper, "mailto:#{CGI.escape_html(email)}", email) |