X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/7a1615bc55aee72dd03a5dd43c08b4f13f669f06..a30aa658a8e0ceaadb83fc2471f0ce8c9a27bb50:/test/models/redaction_test.rb 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