diff options
author | Tobias Lütke <tobi@jadedpixel.com> | 2008-04-29 15:12:47 -0400 |
---|---|---|
committer | Tobias Lütke <tobi@jadedpixel.com> | 2008-04-29 15:12:47 -0400 |
commit | fef82759ff97692470496905951882a0aab49d5b (patch) | |
tree | 7acd6eb8ac07f96523ac3d99024e6a2099059d9b /actionpack | |
parent | 9f07b1edcd2955dc7af166c422309da55372a92c (diff) | |
download | rails-fef82759ff97692470496905951882a0aab49d5b.tar.gz rails-fef82759ff97692470496905951882a0aab49d5b.tar.bz2 rails-fef82759ff97692470496905951882a0aab49d5b.zip |
Implement increment/decrement on cache storage engines, using read/write by default and using atomic command on memcache
Diffstat (limited to 'actionpack')
-rw-r--r-- | actionpack/test/controller/session/mem_cache_store_test.rb | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/actionpack/test/controller/session/mem_cache_store_test.rb b/actionpack/test/controller/session/mem_cache_store_test.rb index df48e6d9c5..a7d48431f8 100644 --- a/actionpack/test/controller/session/mem_cache_store_test.rb +++ b/actionpack/test/controller/session/mem_cache_store_test.rb @@ -62,9 +62,8 @@ class MemCacheStoreTest < Test::Unit::TestCase assert_equal d, s.cache.get(session_key)[:test] assert_equal d, s[:test] end - end - - + end + def test_deletion new_session do |s| session_key = 'session:' + s.session_id |