X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/273cb9e00a9d1e553d0d24bec9dcc8957a3f85a9..3a5f0c4845ea7712e26f625c58424c309cf06881:/test/helpers/user_helper_test.rb?ds=inline diff --git a/test/helpers/user_helper_test.rb b/test/helpers/user_helper_test.rb index cb7125cca..0767dea56 100644 --- a/test/helpers/user_helper_test.rb +++ b/test/helpers/user_helper_test.rb @@ -111,12 +111,13 @@ class UserHelperTest < ActionView::TestCase def test_openid_logo logo = openid_logo - assert_match %r{^$}, logo + assert_match %r{^$}, logo end def test_auth_button button = auth_button("google", "google") - assert_equal("\"Login", button) + img_tag = "\"Log" + assert_equal("#{img_tag}", button) end private