X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/330e2cc5214e309b349dee5a9401970fbab549bb..fb6042e35c10da70c030b5544a14c38577f0413c:/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 a415bd029..56f5776ad 100644 --- a/test/helpers/user_helper_test.rb +++ b/test/helpers/user_helper_test.rb @@ -109,15 +109,10 @@ class UserHelperTest < ActionView::TestCase assert_match %r{^$}, thumbnail end - def test_openid_logo - logo = openid_logo - assert_match %r{^$}, logo - end - def test_auth_button - button = auth_button("google", "google") - img_tag = "\"Google" - assert_equal("#{img_tag}", button) + button = auth_button("google") + img_tag = "\"Google" + assert_equal("#{img_tag}", button) end private