X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/a7092491b069de43bb8d8c30d3526e7095c5cc98..4a45092e27607f37843edbabbeda67919049e11b:/test/helpers/user_helper_test.rb
diff --git a/test/helpers/user_helper_test.rb b/test/helpers/user_helper_test.rb
index 397a90a63..758baa1cb 100644
--- a/test/helpers/user_helper_test.rb
+++ b/test/helpers/user_helper_test.rb
@@ -60,7 +60,7 @@ class UserHelperTest < ActionView::TestCase
gravatar_user = create(:user, :image_use_gravatar => true)
url = user_image_url(user)
- assert_match %r{^http://test.host/rails/active_storage/representations/[^/]+/[^/]+/a.gif$}, url
+ assert_match %r{^http://test.host/rails/active_storage/representations/redirect/[^/]+/[^/]+/a.gif$}, url
url = user_image_url(gravatar_user)
assert_match %r{^http://www.gravatar.com/avatar/}, url
@@ -73,10 +73,10 @@ class UserHelperTest < ActionView::TestCase
def test_auth_button
button = auth_button("google", "google")
- assert_equal button, ""
+ assert_equal("", button)
- button = auth_button("yahoo", "openid", :openid_url => "yahoo.com")
- assert_equal button, ""
+ button = auth_button("wordpress", "openid", :openid_url => "wordpress.com")
+ assert_equal("", button)
end
private