spec/ramaze/session/redis.rb in ramaze-2012.12.08 vs spec/ramaze/session/redis.rb in ramaze-2023.01.06
- old
+ new
@@ -1,10 +1,10 @@
require File.expand_path('../../../../spec/helper', __FILE__)
spec_require 'redis'
spec_precondition 'Redis is running' do
- cache = Redis.new
- cache['active'] = true
+ cache = Redis.new
+ "OK" == cache.set('testkey', 'testval')
end
class SpecSession < Ramaze::Controller
map '/'
engine :None