From 0998ee95d0175e317e481b4a4e9e37e60f85b820 Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Mon, 10 May 2021 14:28:57 +0100 Subject: [PATCH] Update test result for rails 6.1 compatibility --- test/helpers/user_helper_test.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/helpers/user_helper_test.rb b/test/helpers/user_helper_test.rb index 6170e3a4897..a378ad5b0f1 100644 --- a/test/helpers/user_helper_test.rb +++ b/test/helpers/user_helper_test.rb @@ -60,7 +60,7 @@ def test_user_image_url 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