aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/controller/session/mem_cache_store_test.rb
diff options
context:
space:
mode:
authorTobias Lütke <tobi@jadedpixel.com>2008-04-29 15:12:47 -0400
committerTobias Lütke <tobi@jadedpixel.com>2008-04-29 15:12:47 -0400
commitfef82759ff97692470496905951882a0aab49d5b (patch)
tree7acd6eb8ac07f96523ac3d99024e6a2099059d9b /actionpack/test/controller/session/mem_cache_store_test.rb
parent9f07b1edcd2955dc7af166c422309da55372a92c (diff)
downloadrails-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/test/controller/session/mem_cache_store_test.rb')
-rw-r--r--actionpack/test/controller/session/mem_cache_store_test.rb5
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