X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/c162c065c6f6db5dc584599f5639b296b627a165..97036c181e307dae10bb019dbcbd7a50d30bb3b8:/test/controllers/users_controller_test.rb?ds=sidebyside diff --git a/test/controllers/users_controller_test.rb b/test/controllers/users_controller_test.rb index 8b438e903..feca92df5 100644 --- a/test/controllers/users_controller_test.rb +++ b/test/controllers/users_controller_test.rb @@ -2,6 +2,8 @@ require "test_helper" class UsersControllerTest < ActionController::TestCase def setup + super + stub_hostip_requests end @@ -1317,7 +1319,7 @@ class UsersControllerTest < ActionController::TestCase assert_equal "", user.description assert_nil user.home_lat assert_nil user.home_lon - assert_equal false, user.image.file? + assert_equal false, user.avatar.attached? assert_equal false, user.email_valid assert_nil user.new_email assert_nil user.auth_provider