aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/controller/session/mem_cache_store_test.rb
diff options
context:
space:
mode:
Diffstat (limited to 'actionpack/test/controller/session/mem_cache_store_test.rb')
-rw-r--r--actionpack/test/controller/session/mem_cache_store_test.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/actionpack/test/controller/session/mem_cache_store_test.rb b/actionpack/test/controller/session/mem_cache_store_test.rb
index 1fd2d0cd75..3afb7a8ea9 100644
--- a/actionpack/test/controller/session/mem_cache_store_test.rb
+++ b/actionpack/test/controller/session/mem_cache_store_test.rb
@@ -11,6 +11,7 @@ end
uses_mocha 'MemCacheStore tests' do
+if defined? MemCache::MemCacheError
class MemCacheStoreTest < Test::Unit::TestCase
SESSION_KEY_RE = /^session:[0-9a-z]+/
@@ -177,4 +178,5 @@ class MemCacheStoreTest < Test::Unit::TestCase
end
end
+end # defined? MemCache
end # uses_mocha