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

Version Path
flipper-redis-0.12.2 test/adapters/redis_test.rb
flipper-redis-0.12.1 test/adapters/redis_test.rb
flipper-redis-0.12.0 test/adapters/redis_test.rb
flipper-redis-0.11.0 test/adapters/redis_test.rb
flipper-redis-0.11.0.rc1 test/adapters/redis_test.rb
flipper-redis-0.11.0.beta9 test/adapters/redis_test.rb
flipper-redis-0.11.0.beta8 test/adapters/redis_test.rb
flipper-redis-0.11.0.beta7 test/adapters/redis_test.rb
flipper-redis-0.11.0.beta6 test/adapters/redis_test.rb
flipper-redis-0.11.0.beta5 test/adapters/redis_test.rb
flipper-redis-0.11.0.beta4 test/adapters/redis_test.rb