Sha256: a592b83ebd6468fbf465c3c335f69f75f50e3568d58fcf50d033a974114f33d0
Contents?: true
Size: 315 Bytes
Versions: 31
Compression:
Stored size: 315 Bytes
Contents
require 'test_helper' require 'flipper/adapters/redis' class RedisTest < MiniTest::Test prepend Flipper::Test::SharedAdapterTests def setup url = ENV.fetch('REDIS_URL', 'redis://localhost:6379') client = Redis.new(url: url).tap(&:flushdb) @adapter = Flipper::Adapters::Redis.new(client) end end
Version data entries
31 entries across 31 versions & 1 rubygems