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