Remove single-use OpenID logo helper

This commit is contained in:
Anton Khorev 2024-07-10 13:16:15 +03:00
parent 86b1e934b6
commit 38bfb33c02
3 changed files with 1 additions and 10 deletions

View file

@ -109,11 +109,6 @@ class UserHelperTest < ActionView::TestCase
assert_match %r{^<img .* width="50" height="50" .* />$}, thumbnail
end
def test_openid_logo
logo = openid_logo
assert_match %r{^<img .* src="/images/openid.svg" .* />$}, logo
end
def test_auth_button
button = auth_button("google", "google")
img_tag = "<img alt=\"Google logo\" class=\"rounded-1\" src=\"/images/google.svg\" width=\"36\" height=\"36\" />"