X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/64b3e289ac14533c6fb2b1223b6417ad0446878c..98b1e5f76ce400af3270c3350804d40e30fd7d53:/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