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

This commit is contained in:
Joshua Peek 2009-09-26 20:02:47 -05:00
parent 198081a639
commit 02413baabb
1 changed files with 4 additions and 0 deletions

View File

@ -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'