Sha256: ba02e2d86fa5c76b68218e0222b84928586962253f4f602492e5ac3faf27f082

Contents?: true

Size: 215 Bytes

Versions: 2

Compression:

Stored size: 215 Bytes

Contents

require 'dalli'

module DalliHelpers
  def dalli
    @dalli ||= Dalli::Client.new('localhost:19122')
  end
end

RSpec.configure do |config|
  config.include DalliHelpers

  config.after do
    dalli.flush
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
memdash-0.1.0 spec/support/dalli.rb
memdash-0.0.1 spec/support/dalli.rb