X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/03408b6294e0aa56d46823c1f44d47aaf69e226b..4f129ad3f5741a377d4c78f66d99e59630559270:/test/controllers/redactions_controller_test.rb diff --git a/test/controllers/redactions_controller_test.rb b/test/controllers/redactions_controller_test.rb index 73061ed57..e2123f725 100644 --- a/test/controllers/redactions_controller_test.rb +++ b/test/controllers/redactions_controller_test.rb @@ -112,7 +112,7 @@ class RedactionsControllerTest < ActionController::TestCase delete :destroy, :params => { :id => redaction.id } assert_response :redirect assert_redirected_to(redaction_path(redaction)) - assert_match /^Redaction is not empty/, flash[:error] + assert_match(/^Redaction is not empty/, flash[:error]) end def test_delete_non_moderator