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

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