From 75acbac298ba407e6d86082a63ffa4e4a77667ac Mon Sep 17 00:00:00 2001 From: Vijay Dev Date: Sun, 27 Apr 2014 21:25:40 +0530 Subject: Revert "Document ActionController::TestCase::Behavior::ClassMethods.process" This reverts commit 2aef9fddf8b4487a05638ea3341dfd65ceb229ef. Reason: The added change isn't clear in terms of explaining the arguments. Will ask the author to provide a PR and take it forward. [ci skip] --- actionpack/lib/action_controller/test_case.rb | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'actionpack') diff --git a/actionpack/lib/action_controller/test_case.rb b/actionpack/lib/action_controller/test_case.rb index 2962ce47f9..caaebc537a 100644 --- a/actionpack/lib/action_controller/test_case.rb +++ b/actionpack/lib/action_controller/test_case.rb @@ -550,18 +550,6 @@ module ActionController end end - # Simulate a HTTP request to action with the given parameters and set/volley the response. - # - # - +action+: The controller action to call. - # - +http_method+: http method, defaults to +GET+ - # - +session+: A hash of parameters to store in the session. This may be +nil+. - # - +flash+: A hash of parameters to store in the flash. This may be +nil+. - # - # You can also simulate GET, POST, PATCH, PUT, DELETE, and HEAD requests with - # +post+, +patch+, +put+, +delete+, and +head+. - # - # Note that the request method is not verified. The different methods are - # available to make the tests more expressive. def process(action, http_method = 'GET', *args) check_required_ivars -- cgit v1.2.3