Skip to content

Commit

Permalink
Update test result for rails 6.1 compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
tomhughes committed May 10, 2021
1 parent 98b118b commit 0998ee9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/helpers/user_helper_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0998ee9

Please sign in to comment.