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.20.4 test/adapters/redis_test.rb
flipper-redis-0.20.3 test/adapters/redis_test.rb
flipper-redis-0.20.2 test/adapters/redis_test.rb
flipper-redis-0.20.1 test/adapters/redis_test.rb
flipper-redis-0.20.0 test/adapters/redis_test.rb
flipper-redis-0.20.0.beta3 test/adapters/redis_test.rb
flipper-redis-0.20.0.beta2 test/adapters/redis_test.rb
flipper-redis-0.20.0.beta1 test/adapters/redis_test.rb
flipper-redis-0.19.1 test/adapters/redis_test.rb
flipper-redis-0.19.0 test/adapters/redis_test.rb
flipper-redis-0.18.0 test/adapters/redis_test.rb
flipper-redis-0.17.2 test/adapters/redis_test.rb
flipper-redis-0.17.1 test/adapters/redis_test.rb
flipper-redis-0.16.2 test/adapters/redis_test.rb
flipper-redis-0.16.1 test/adapters/redis_test.rb
flipper-redis-0.16.0 test/adapters/redis_test.rb
flipper-redis-0.15.0 test/adapters/redis_test.rb
flipper-redis-0.14.0 test/adapters/redis_test.rb
flipper-redis-0.13.0 test/adapters/redis_test.rb
flipper-redis-0.13.0.beta1 test/adapters/redis_test.rb