X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/da546af22e724f81f441417aaff11b24e6051267..b8da7922ec4194e61a1eebb43be787f8b55d1647:/test/models/acl_test.rb diff --git a/test/models/acl_test.rb b/test/models/acl_test.rb index 49f065612..88d1c0e7d 100644 --- a/test/models/acl_test.rb +++ b/test/models/acl_test.rb @@ -3,7 +3,7 @@ require "test_helper" class AclTest < ActiveSupport::TestCase def test_k_required acl = create(:acl) - assert acl.valid? + assert_predicate acl, :valid? acl.k = nil assert_not acl.valid? end