Sha256: 108b907886075de67eca89c0ea9fe05a2e7cc095134d1e5d3c5bff38b5a0083d

Contents?: true

Size: 415 Bytes

Versions: 6

Compression:

Stored size: 415 Bytes

Contents

require 'test_helper'
require 'flipper/adapters/memory'
require 'flipper/adapters/dalli'

class DalliTest < MiniTest::Test
  prepend Flipper::Test::SharedAdapterTests

  def setup
    @cache = Dalli::Client.new('localhost:11211')
    @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

6 entries across 6 versions & 1 rubygems

Version Path
flipper-dalli-0.10.2 test/adapters/dalli_test.rb
flipper-dalli-0.10.1 test/adapters/dalli_test.rb
flipper-dalli-0.10.0 test/adapters/dalli_test.rb
flipper-dalli-0.9.2 test/adapters/dalli_test.rb
flipper-dalli-0.9.1 test/adapters/dalli_test.rb
flipper-dalli-0.9.0 test/adapters/dalli_test.rb