Methods
T
Instance Public methods
test_implicit_no_content_response_as_browser()
# File actionpack/test/controller/render_test.rb, line 577
def test_implicit_no_content_response_as_browser
  assert_raises(ActionController::UnknownFormat) do
    get :empty_action
  end
end
test_implicit_no_content_response_as_xhr()
# File actionpack/test/controller/render_test.rb, line 583
def test_implicit_no_content_response_as_xhr
  get :empty_action, xhr: true
  assert_response :no_content
end
test_implicit_success_response_with_right_format()
# File actionpack/test/controller/render_test.rb, line 588
def test_implicit_success_response_with_right_format
  get :empty_action_with_template
  assert_equal "<h1>Empty action rendered this implicitly.</h1>\n", @response.body
  assert_response :success
end
test_implicit_unknown_format_response()
# File actionpack/test/controller/render_test.rb, line 594
def test_implicit_unknown_format_response
  assert_raises(ActionController::UnknownFormat) do
    get :empty_action_with_template, format: 'json'
  end
end