]> git.openstreetmap.org Git - rails.git/blobdiff - test/unit/user_test.rb
Convert tabs to spaces
[rails.git] / test / unit / user_test.rb
index 175d47e22e2172eccd7bd6a9a0b670fc4109f2a5..1283f416852078e861fb1c456629d159eab0632d 100644 (file)
@@ -231,7 +231,7 @@ class UserTest < ActiveSupport::TestCase
     user = users(:normal_user)
     user.delete
     assert_equal "user_#{user.id}", user.display_name
     user = users(:normal_user)
     user.delete
     assert_equal "user_#{user.id}", user.display_name
-    assert_blank user.description
+    assert user.description.blank?
     assert_equal nil, user.home_lat
     assert_equal nil, user.home_lon
     assert_equal false, user.image.file?
     assert_equal nil, user.home_lat
     assert_equal nil, user.home_lon
     assert_equal false, user.image.file?