]> git.openstreetmap.org Git - rails.git/blobdiff - test/controllers/redactions_controller_test.rb
Resolve 96 Rubocop Lint/AmbiguousRegexpLiteral conflicts
[rails.git] / test / controllers / redactions_controller_test.rb
index 73061ed57243af4913a5a73e903dc843001fc3ae..e2123f7250ee42afc9a0bbbf19dbfa1a47216c9f 100644 (file)
@@ -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