X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/8379b6517454ccbdd1b408a09fade7644403785f..5708c25e04a3d31796771fbcb44485bf601cec8b:/test/helpers/user_helper_test.rb diff --git a/test/helpers/user_helper_test.rb b/test/helpers/user_helper_test.rb index eedc8775c..c57299a96 100644 --- a/test/helpers/user_helper_test.rb +++ b/test/helpers/user_helper_test.rb @@ -59,7 +59,7 @@ class UserHelperTest < ActionView::TestCase gravatar_user = create(:user, :image_use_gravatar => true) url = user_image_url(user) - assert_match %r{^/attachments/users/images/\d{3}/\d{3}/\d{3}/original/d41d8cd98f00b204e9800998ecf8427e.jpg$}, url + assert_match %r{^/attachments/users/images/\d{3}/\d{3}/\d{3}/large/d41d8cd98f00b204e9800998ecf8427e.jpg$}, url url = user_image_url(gravatar_user) assert_match %r{^http://www.gravatar.com/avatar/}, url