Sha256: 3faee56b42d2e9ad8f1e3ae70ce13b1c82dc2741480661c89c7506f9e10da61b
Contents?: true
Size: 463 Bytes
Versions: 2
Compression:
Stored size: 463 Bytes
Contents
require 'test_helper' require 'flipper/adapters/memory' require 'flipper/adapters/dalli' class DalliTest < MiniTest::Test prepend Flipper::Test::SharedAdapterTests def setup url = ENV.fetch('BOXEN_MEMCACHED_URL', 'localhost:11211') @cache = Dalli::Client.new(url) @cache.flush memory_adapter = Flipper::Adapters::Memory.new @adapter = Flipper::Adapters::Dalli.new(memory_adapter, @cache) end def teardown @cache.flush end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
flipper-dalli-0.11.0.beta3 | test/adapters/dalli_test.rb |
flipper-dalli-0.11.0.beta1 | test/adapters/dalli_test.rb |