Sha256: 594103fe16102159e43505f3d60778dae3044a2a276da6fb6f3e4eb77c587635
Contents?: true
Size: 526 Bytes
Versions: 7
Compression:
Stored size: 526 Bytes
Contents
require File.dirname(__FILE__) + '/spec_helper' begin require "moneta/xattr" describe "Moneta::Xattrs" do before(:each) do @cache = Moneta::Xattr.new(:file => File.join(File.dirname(__FILE__), "file_cache", "xattr_cache")) @cache.clear end after(:all) do FileUtils.rm_rf(File.join(File.dirname(__FILE__), "file_cache")) 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
7 entries across 7 versions & 1 rubygems