Browse files

Remove warning "ambiguous first argument"

  • Loading branch information...
1 parent 68782c1 commit 7a34e0b1bd7caf6fda99678b6feae0eacd9687b0 @carlosantoniodasilva carlosantoniodasilva committed Jan 5, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 railties/test/application/configuration_test.rb
2 railties/test/application/configuration_test.rb
@@ -588,7 +588,7 @@ def create
assert_equal true, ActionController::Parameters.raise_on_unpermitted_parameters
post "/posts", {post: {"title" =>"zomg"}}
- assert_match /We're sorry, but something went wrong/, last_response.body
+ assert_match "We're sorry, but something went wrong", last_response.body
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.