Fix skipping memcache tests if a memcache server isn't running
This commit is contained in:
parent
198081a639
commit
02413baabb
|
@ -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'
|
||||
|
|
Loading…
Reference in New Issue