Sha256: 20c7dcd76efe3a22b786641e8e75de358bf0d44c95e1848963b852758eefb2c2
Contents?: true
Size: 552 Bytes
Versions: 10
Compression:
Stored size: 552 Bytes
Contents
require 'spec_helper' begin require "moneta/adapters/xattr" describe "Moneta::Adapters::Xattr" do path = File.expand_path("../file_cache/xattr_cache", __FILE__) before(:each) do @cache = Moneta::Builder.build do run Moneta::Adapters::Xattr, :file => path end @cache.clear end after(:all) do FileUtils.rm_rf(File.dirname(path)) end if ENV['MONETA_TEST'].nil? || ENV['MONETA_TEST'] == 'xattrs' it_should_behave_like "a read/write Moneta cache" end end rescue SystemExit end
Version data entries
10 entries across 10 versions & 1 rubygems