From f53c247d10acbaacb0d61824cfce888c4b0520d2 Mon Sep 17 00:00:00 2001 From: Aaron Patterson Date: Thu, 5 Jan 2012 14:46:34 -0800 Subject: remove deprecated API --- actionpack/test/controller/action_pack_assertions_test.rb | 2 +- actionpack/test/controller/test_case_test.rb | 7 ------- 2 files changed, 1 insertion(+), 8 deletions(-) (limited to 'actionpack/test/controller') diff --git a/actionpack/test/controller/action_pack_assertions_test.rb b/actionpack/test/controller/action_pack_assertions_test.rb index bdbf158b36..b941136fb6 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 diff --git a/actionpack/test/controller/test_case_test.rb b/actionpack/test/controller/test_case_test.rb index 73b860ac18..429c25a3eb 100644 --- a/actionpack/test/controller/test_case_test.rb +++ b/actionpack/test/controller/test_case_test.rb @@ -245,13 +245,6 @@ XML process :test_uri, "GET", :id => 7 assert_equal "/test_test/test/test_uri/7", @response.body end - - def test_process_with_old_api - assert_deprecated do - process :test_uri, :id => 7 - assert_equal "/test_test/test/test_uri/7", @response.body - end - end def test_process_with_request_uri_with_params_with_explicit_uri @request.env['PATH_INFO'] = "/explicit/uri" -- cgit v1.2.3