diff options
author | Santiago Pastorino <santiago@wyeworks.com> | 2011-04-06 20:53:48 -0300 |
---|---|---|
committer | Santiago Pastorino <santiago@wyeworks.com> | 2011-04-06 20:53:48 -0300 |
commit | 29592a7f09dda2e7e1e0a915d9230fe6a9b5c0af (patch) | |
tree | 516163f34a39fcad4a82c38e4cc6ada2f41fdbe5 /actionpack/test/dispatch | |
parent | 0ca69ca65f83b4bb34f81f077c1c38c66ad868b9 (diff) | |
download | rails-29592a7f09dda2e7e1e0a915d9230fe6a9b5c0af.tar.gz rails-29592a7f09dda2e7e1e0a915d9230fe6a9b5c0af.tar.bz2 rails-29592a7f09dda2e7e1e0a915d9230fe6a9b5c0af.zip |
Use freeze instead of close!
Diffstat (limited to 'actionpack/test/dispatch')
-rw-r--r-- | actionpack/test/dispatch/cookies_test.rb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/actionpack/test/dispatch/cookies_test.rb b/actionpack/test/dispatch/cookies_test.rb index 1d06a755b8..cfa521b2d9 100644 --- a/actionpack/test/dispatch/cookies_test.rb +++ b/actionpack/test/dispatch/cookies_test.rb @@ -502,10 +502,16 @@ class CookiesIntegrationTest < ActionDispatch::IntegrationTest class TestController < ActionController::Base def dont_set_cookies + # initialize lazy loaded objects + cookies.permanent + cookies.signed head :ok end def set_cookies + # initialize lazy loaded objects + cookies.permanent + cookies.signed cookies["that"] = "hello" head :ok end |