X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/66d74a8c2c5713cc6c8e22d2a6db3b64de2ae875..7377cb63939f8743ca31e67ea3965c2b15d20057:/test/models/redaction_test.rb?ds=sidebyside diff --git a/test/models/redaction_test.rb b/test/models/redaction_test.rb index 2e629867b..4196dea15 100644 --- a/test/models/redaction_test.rb +++ b/test/models/redaction_test.rb @@ -28,7 +28,7 @@ class RedactionTest < ActiveSupport::TestCase r = create(:redaction) assert_equal(false, node_v1.redacted?, "Expected node to not be redacted already.") - assert_nothing_raised(OSM::APICannotRedactError) do + assert_nothing_raised do node_v1.redact!(r) end assert_equal(true, node_v1.redacted?, "Expected node version 1 to be redacted after redact! call.")