Skip to content
This repository
Browse code

Remove warning "ambiguous first argument"

  • Loading branch information...
commit 7a34e0b1bd7caf6fda99678b6feae0eacd9687b0 1 parent 68782c1
Carlos Antonio da Silva carlosantoniodasilva authored

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. +1 1  railties/test/application/configuration_test.rb
2  railties/test/application/configuration_test.rb
@@ -588,7 +588,7 @@ def create
588 588 assert_equal true, ActionController::Parameters.raise_on_unpermitted_parameters
589 589
590 590 post "/posts", {post: {"title" =>"zomg"}}
591   - assert_match /We're sorry, but something went wrong/, last_response.body
  591 + assert_match "We're sorry, but something went wrong", last_response.body
592 592 end
593 593
594 594 test "config.action_controller.raise_on_unpermitted_parameters is true by default on development" do

0 comments on commit 7a34e0b

Please sign in to comment.
Something went wrong with that request. Please try again.