Permalink
Browse files

Revert "Document ActionController::TestCase::Behavior::ClassMethods.p…

…rocess"

This reverts commit 2aef9fd.

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]
  • Loading branch information...
1 parent 957881a commit 75acbac298ba407e6d86082a63ffa4e4a77667ac @vijaydev vijaydev committed Apr 27, 2014
Showing with 0 additions and 12 deletions.
  1. +0 −12 actionpack/lib/action_controller/test_case.rb
@@ -550,18 +550,6 @@ def paramify_values(hash_or_array_or_value)
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

0 comments on commit 75acbac

Please sign in to comment.