Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

26 lines (21 sloc) 0.604 kb
require File.dirname(__FILE__) + '/spec_helper'
begin
require "moneta/adapters/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::Builder.build do
run Moneta::Adapters::LMC, :filename => "test"
end
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
Jump to Line
Something went wrong with that request. Please try again.