Method: ActionController::TestCase::Behavior#post
- Defined in:
- actionpack/lib/action_controller/test_case.rb
#post(action, **args) ⇒ Object
Simulate a POST request with the given parameters and set/volley the response. See ‘get` for more details.
435 436 437 |
# File 'actionpack/lib/action_controller/test_case.rb', line 435 def post(action, **args) process(action, method: "POST", **args) end |