X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/c51786d10bc6dda488964f468a6a3071dd6912a8..a99450f558a3b39d4d4f7143f5da2628b2cbba2c:/test/models/redaction_test.rb?ds=sidebyside diff --git a/test/models/redaction_test.rb b/test/models/redaction_test.rb index d74a91179..06159cb5d 100644 --- a/test/models/redaction_test.rb +++ b/test/models/redaction_test.rb @@ -30,7 +30,7 @@ class RedactionTest < ActiveSupport::TestCase assert_nothing_raised do node_v1.redact!(r) end - assert(node_v1.redacted?, "Expected node version 1 to be redacted after redact! call.") + assert_predicate(node_v1, :redacted?, "Expected node version 1 to be redacted after redact! call.") assert_not(node_v2.redacted?, "Expected node version 2 to not be redacted after redact! call.") end end