X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/52cd62bf1309a91813b8dfccaf5f7ce9859007f1..a8fcf9034b4c0ed0d4d3672bf7d86685adda44f3:/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 11a47a195..0767dea56 100644 --- a/test/helpers/user_helper_test.rb +++ b/test/helpers/user_helper_test.rb @@ -111,15 +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) - - button = auth_button("wordpress", "openid", :openid_url => "wordpress.com") - assert_equal("\"Login", button) + img_tag = "\"Log" + assert_equal("#{img_tag}", button) end private