]> git.openstreetmap.org Git - rails.git/blobdiff - test/models/acl_test.rb
Add unsubscribe link to changeset notification mails
[rails.git] / test / models / acl_test.rb
index ac3ea091cfa3f20250edc39790c8c180c7565065..6bd87729c120db814529bcab02e42497734c1357 100644 (file)
@@ -5,7 +5,7 @@ class AclTest < ActiveSupport::TestCase
     acl = create(:acl)
     assert_predicate acl, :valid?
     acl.k = nil
     acl = create(:acl)
     assert_predicate acl, :valid?
     acl.k = nil
-    assert_not acl.valid?
+    assert_not_predicate acl, :valid?
   end
 
   def test_no_account_creation_by_subnet
   end
 
   def test_no_account_creation_by_subnet