Skip to content
Browse files

Fix skipping memcache tests if a memcache server isn't running

  • Loading branch information...
1 parent 198081a commit 02413baabbc2d7458377822974ee3405a91fe627 @josh josh committed Sep 26, 2009
Showing with 4 additions and 0 deletions.
  1. +4 −0 actionpack/test/dispatch/session/mem_cache_store_test.rb
View
4 actionpack/test/dispatch/session/mem_cache_store_test.rb
@@ -32,6 +32,10 @@ def rescue_action(e) raise end
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'

0 comments on commit 02413ba

Please sign in to comment.
Something went wrong with that request. Please try again.