aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib
diff options
context:
space:
mode:
authorVijay Dev <vijaydev.cse@gmail.com>2014-04-27 21:25:40 +0530
committerVijay Dev <vijaydev.cse@gmail.com>2014-04-27 21:25:40 +0530
commit75acbac298ba407e6d86082a63ffa4e4a77667ac (patch)
tree188882f5dbd0af175e57768466bbcdf5372d6499 /actionpack/lib
parent957881a45b68a28e6118db28bd465fedba51f593 (diff)
downloadrails-75acbac298ba407e6d86082a63ffa4e4a77667ac.tar.gz
rails-75acbac298ba407e6d86082a63ffa4e4a77667ac.tar.bz2
rails-75acbac298ba407e6d86082a63ffa4e4a77667ac.zip
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]
Diffstat (limited to 'actionpack/lib')
-rw-r--r--actionpack/lib/action_controller/test_case.rb12
1 files changed, 0 insertions, 12 deletions
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