X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/aad1c1b93398a85559d3987350fa16f9dc0acea0..2312dd902e96786649ad9289c425a22ec73fbd80:/test/helpers/user_helper_test.rb
diff --git a/test/helpers/user_helper_test.rb b/test/helpers/user_helper_test.rb
index 5bee6d0c8..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