]> git.openstreetmap.org Git - rails.git/blobdiff - test/models/user_test.rb
Merge remote-tracking branch 'upstream/pull/2534'
[rails.git] / test / models / user_test.rb
index 96c6632ffcbcac8e9b85aadac8f91d2901d4cea7..2368960e163b2b1bf8d75d6823447d507524d0bf 100644 (file)
@@ -263,7 +263,7 @@ class UserTest < ActiveSupport::TestCase
     assert user.description.blank?
     assert_nil user.home_lat
     assert_nil user.home_lon
     assert user.description.blank?
     assert_nil user.home_lat
     assert_nil user.home_lon
-    assert_equal false, user.image.file?
+    assert_equal false, user.avatar.attached?
     assert_equal "deleted", user.status
     assert_equal false, user.visible?
     assert_equal false, user.active?
     assert_equal "deleted", user.status
     assert_equal false, user.visible?
     assert_equal false, user.active?