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