aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/dispatch
diff options
context:
space:
mode:
authorJoshua Peek <josh@joshpeek.com>2009-09-26 20:02:47 -0500
committerJoshua Peek <josh@joshpeek.com>2009-09-26 20:02:47 -0500
commit02413baabbc2d7458377822974ee3405a91fe627 (patch)
tree0bd840dd136c8a0e2d37110460a591bd6d908b9a /actionpack/test/dispatch
parent198081a639deded3df8a1a526cee66e951fb51ec (diff)
downloadrails-02413baabbc2d7458377822974ee3405a91fe627.tar.gz
rails-02413baabbc2d7458377822974ee3405a91fe627.tar.bz2
rails-02413baabbc2d7458377822974ee3405a91fe627.zip
Fix skipping memcache tests if a memcache server isn't running
Diffstat (limited to 'actionpack/test/dispatch')
-rw-r--r--actionpack/test/dispatch/session/mem_cache_store_test.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/actionpack/test/dispatch/session/mem_cache_store_test.rb b/actionpack/test/dispatch/session/mem_cache_store_test.rb
index d7129da187..4c6a80fdb8 100644
--- a/actionpack/test/dispatch/session/mem_cache_store_test.rb
+++ b/actionpack/test/dispatch/session/mem_cache_store_test.rb
@@ -32,6 +32,10 @@ class MemCacheStoreTest < ActionController::IntegrationTest
end
begin
+ require 'memcache'
+ memcache = MemCache.new('localhost:11211')
+ memcache.set('ping', '')
+
def test_setting_and_getting_session_value
with_test_route_set do
get '/set_session_value'