X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/4d47cff5e1d359fa27c5c46d2706faae39a3eacc..be541bcab21487560d4974215bd35be74012c492:/test/models/acl_test.rb?ds=sidebyside 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