Sha256: 3ed959abdd2e77f007e300a5c42f43ccd5c25d464b152f8cb9a2464f014e78d9
Contents?: true
Size: 391 Bytes
Versions: 31
Compression:
Stored size: 391 Bytes
Contents
require 'helper' require 'flipper/adapters/redis' require 'flipper/spec/shared_adapter_specs' RSpec.describe Flipper::Adapters::Redis do let(:client) do options = {} options[:url] = ENV['REDIS_URL'] if ENV['REDIS_URL'] Redis.new(options) end subject { described_class.new(client) } before do client.flushdb end it_should_behave_like 'a flipper adapter' end
Version data entries
31 entries across 31 versions & 1 rubygems