X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/dd676f2257f442d427e0bce4c2984fb5e3488f62..3b143dc2b4623e0ca23502e36f19c1c16b71d010:/test/helpers/user_helper_test.rb?ds=sidebyside diff --git a/test/helpers/user_helper_test.rb b/test/helpers/user_helper_test.rb index f64cee319..52d3090d0 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