ActionController::TestCase
# File actionpack/test/controller/api/with_cookies_test.rb, line 16 def test_with_cookies request.cookies[:foobar] = "bazbang" get :with_cookies assert_equal "bazbang", response.body end