Sha256: 222c75d96fe373b5d2aced07c110c86338e3c39b66c879d76070196062d2290c

Contents?: true

Size: 291 Bytes

Versions: 4

Compression:

Stored size: 291 Bytes

Contents

require 'helper'
require 'flipper/adapters/redis'
require 'flipper/spec/shared_adapter_specs'

describe Flipper::Adapters::Redis do
  let(:client) { Redis.new }

  subject { described_class.new(client) }

  before do
    client.flushdb
  end

  it_should_behave_like 'a flipper adapter'
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
flipper-redis-0.6.2 spec/flipper/redis_spec.rb
flipper-redis-0.6.1 spec/flipper/redis_spec.rb
flipper-redis-0.6.0 spec/flipper/redis_spec.rb
flipper-redis-0.5.0 spec/flipper/redis_spec.rb