]> git.openstreetmap.org Git - rails.git/blobdiff - test/unit/user_test.rb
Check to see if the e-mail test works
[rails.git] / test / unit / user_test.rb
index 2f31da709efb913486385192a69377f3d9b4cab0..bb17368b49b46ce464edb59223b547383d9b1f63 100644 (file)
@@ -53,4 +53,10 @@ class UserTest < Test::Unit::TestCase
       assert !user.valid?, "#{name} is valid when it shouldn't be" 
     end
   end
+  
+  def test_display_name_length
+    user = users(:normal_user)
+    user.display_name = nil
+    asser user.valid, " should allow nil display name"
+  end
 end