Sha256: 1b468afe717e032b3c10b51fa45c9fdab4f7ab72d2969cce37887605324bb356
Contents?: true
Size: 516 Bytes
Versions: 7
Compression:
Stored size: 516 Bytes
Contents
require File.dirname(__FILE__) + '/spec_helper' begin require "moneta/sdbm" describe "Moneta::SDBM" do before(:each) do @cache = Moneta::SDBM.new(:file => File.join(File.dirname(__FILE__), "sdbm_cache")) @cache.clear end after(:all) do FileUtils.rm_rf(Dir.glob(File.join(File.dirname(__FILE__), "sdbm_cache*"))) end if ENV['MONETA_TEST'].nil? || ENV['MONETA_TEST'] == 'sdbm' it_should_behave_like "a read/write Moneta cache" end end rescue SystemExit end
Version data entries
7 entries across 7 versions & 1 rubygems