Methods
S
T
Instance Public methods
setup()
# File actionpack/test/controller/render_test.rb, line 1491
def setup
  @request.host = "www.nextangle.com"
end
test_expires_in_header()
# File actionpack/test/controller/render_test.rb, line 1495
def test_expires_in_header
  get :conditional_hello_with_expires_in
  assert_equal "max-age=60, private", @response.headers["Cache-Control"]
end
test_expires_in_header_with_additional_headers()
# File actionpack/test/controller/render_test.rb, line 1505
def test_expires_in_header_with_additional_headers
  get :conditional_hello_with_expires_in_with_public_with_more_keys
  assert_equal "max-age=60, public, max-stale=18000", @response.headers["Cache-Control"]
end
test_expires_in_header_with_public()
# File actionpack/test/controller/render_test.rb, line 1500
def test_expires_in_header_with_public
  get :conditional_hello_with_expires_in_with_public
  assert_equal "max-age=60, public", @response.headers["Cache-Control"]
end
test_expires_in_old_syntax()
# File actionpack/test/controller/render_test.rb, line 1510
def test_expires_in_old_syntax
  get :conditional_hello_with_expires_in_with_public_with_more_keys_old_syntax
  assert_equal "max-age=60, public, max-stale=18000", @response.headers["Cache-Control"]
end
test_expires_now()
# File actionpack/test/controller/render_test.rb, line 1515
def test_expires_now
  get :conditional_hello_with_expires_now
  assert_equal "no-cache", @response.headers["Cache-Control"]
end