Lines Matching refs:redis
6 let(:redis) { ConcurrencyBalancer::RedisWrapper.new }
9 redis.del ConcurrencyBalancer::REDIS_KEY
10 redis.del ConcurrencyBalancer::SEQUENTIAL_LOCK_KEY
22 redis.sadd ConcurrencyBalancer::REDIS_KEY, 'iri'
30 redis.sadd ConcurrencyBalancer::REDIS_KEY, 'iri'
45 redis.sadd ConcurrencyBalancer::REDIS_KEY, 'iri'
53 redis.sadd ConcurrencyBalancer::REDIS_KEY, 'iri'
59 redis.sadd ConcurrencyBalancer::REDIS_KEY, 'iri'
61 expect(redis.sismember ConcurrencyBalancer::REDIS_KEY, 'iri').
74 expect(redis.sismember ConcurrencyBalancer::REDIS_KEY, 'iri').
81 redis.sadd(ConcurrencyBalancer::SEQUENTIAL_LOCK_KEY, true)
99 expect(redis.sismember ConcurrencyBalancer::REDIS_KEY, 'iri').to be(false)