X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/0e78061cdba5cfb3f299f57b7643d2b396ee235b..7809bfa02753271a92c78c720c66826afb19bf11:/test/helpers/user_helper_test.rb
diff --git a/test/helpers/user_helper_test.rb b/test/helpers/user_helper_test.rb
index 6170e3a48..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
@@ -75,8 +75,8 @@ class UserHelperTest < ActionView::TestCase
button = auth_button("google", "google")
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