Sha256: 5d6e914d2d570a10f762017a773bc5a6628d89e414d97d01155d8d0fbea26594

Contents?: true

Size: 550 Bytes

Versions: 7

Compression:

Stored size: 550 Bytes

Contents

require File.dirname(__FILE__) + '/spec_helper'

begin
  require "moneta/lmc"
  require "fileutils"

  # Problem: If there are multiple caches around, they start
  # to block (with a system semaphore), which can be unpleasant
  # so just use one cache for the entire test run.
  $lmc_cache = Moneta::LMC.new(:filename => "test")

  describe "Moneta::LMC" do
    before(:all) do
      @cache = $lmc_cache
    end
    
    after(:each) do
      @cache.clear
    end
    
    it_should_behave_like "a read/write Moneta cache"
  end
rescue SystemExit
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
benschwarz-smoke-0.5.0 vendor/moneta/spec/moneta_lmc_spec.rb
benschwarz-smoke-0.5.1 vendor/moneta/spec/moneta_lmc_spec.rb
benschwarz-smoke-0.5.2 vendor/moneta/spec/moneta_lmc_spec.rb
benschwarz-smoke-0.5.3 vendor/moneta/spec/moneta_lmc_spec.rb
benschwarz-smoke-0.5.4 vendor/moneta/spec/moneta_lmc_spec.rb
benschwarz-smoke-0.5.5 vendor/moneta/spec/moneta_lmc_spec.rb
benschwarz-smoke-0.5.6 vendor/moneta/spec/moneta_lmc_spec.rb