aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/controller
diff options
context:
space:
mode:
authorCarlos Antonio da Silva <carlosantoniodasilva@gmail.com>2012-01-06 09:25:40 -0200
committerCarlos Antonio da Silva <carlosantoniodasilva@gmail.com>2012-01-06 09:25:40 -0200
commit68367fd570fa9fa96b870d9abc66bc4a14fda113 (patch)
tree328e99a2e9fc1009e406e4e7b900f2d3a3144796 /actionpack/test/controller
parent93df3b2d15d024068eb7c9c5f2f6f9a5c4695947 (diff)
downloadrails-68367fd570fa9fa96b870d9abc66bc4a14fda113.tar.gz
rails-68367fd570fa9fa96b870d9abc66bc4a14fda113.tar.bz2
rails-68367fd570fa9fa96b870d9abc66bc4a14fda113.zip
Remove deprecation warning from test related to old process api
Diffstat (limited to 'actionpack/test/controller')
-rw-r--r--actionpack/test/controller/action_pack_assertions_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/test/controller/action_pack_assertions_test.rb b/actionpack/test/controller/action_pack_assertions_test.rb
index bdbf158b36..01cafe1aca 100644
--- a/actionpack/test/controller/action_pack_assertions_test.rb
+++ b/actionpack/test/controller/action_pack_assertions_test.rb
@@ -338,7 +338,7 @@ class ActionPackAssertionsControllerTest < ActionController::TestCase
end
def test_render_based_on_parameters
- process :render_based_on_parameters, "name" => "David"
+ process :render_based_on_parameters, "GET", "name" => "David"
assert_equal "Mr. David", @response.body
end