]> git.openstreetmap.org Git - rails.git/blobdiff - test/models/redaction_test.rb
Reduce the max class length after splitting the changeset comments controller tests out
[rails.git] / test / models / redaction_test.rb
index 2e629867b6996e8ce960fdbd905fd3df68a06d9c..4196dea154d242cd675150748907f0f3c9786c30 100644 (file)
@@ -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.")