Method: ActionController::TestRequest#content_type=
- Defined in:
- actionpack/lib/action_controller/test_case.rb
#content_type=(type) ⇒ Object
84 85 86 |
# File 'actionpack/lib/action_controller/test_case.rb', line 84 def content_type=(type) set_header "CONTENT_TYPE", type end |