X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/91a37235ac748df7dc241b215790d6cbecd652f3..a71b8af4d1bded364c0ba7f05c8dd851a4a19859:/test/helpers/user_helper_test.rb
diff --git a/test/helpers/user_helper_test.rb b/test/helpers/user_helper_test.rb
index 397a90a63..a378ad5b0 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, ""
+ assert_equal("", button)
end
private