提交 02413baa 编写于 作者: J Joshua Peek

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

上级 198081a6
......@@ -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'
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册