X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/da546af22e724f81f441417aaff11b24e6051267..b29189e856a0447612e99f7337341a9486d1e4f2:/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