Sha256: 54a27277c9ceb712c5fdb4c568f031f42962a55dbfb64a6eaff1e570e0f88082
Contents?: true
Size: 414 Bytes
Versions: 12
Compression:
Stored size: 414 Bytes
Contents
require 'helper' require 'flipper/adapters/redis' require 'flipper/spec/shared_adapter_specs' RSpec.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
12 entries across 12 versions & 1 rubygems