Sha256: 85c5f078db75f1980085f4729fed7b9d33977d8c92e2130b64319085edf8a887

Contents?: true

Size: 536 Bytes

Versions: 7

Compression:

Stored size: 536 Bytes

Contents

require File.dirname(__FILE__) + '/spec_helper'

begin
  require 'moneta/berkeley'

  describe "Moneta::Berkeley" do
    before(:each) do
      @cache = Moneta::Berkeley.new(:file => File.join(File.dirname(__FILE__), "berkeley_test.db"))
      @cache.clear
    end
  
    after(:all) do
      File.delete(File.join(File.dirname(__FILE__), "berkeley_test.db"))
      File.delete(File.join(File.dirname(__FILE__), "berkeley_test.db_expiration"))
    end
  
    it_should_behave_like "a read/write Moneta cache"
  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_berkeley_spec.rb
benschwarz-smoke-0.5.1 vendor/moneta/spec/moneta_berkeley_spec.rb
benschwarz-smoke-0.5.2 vendor/moneta/spec/moneta_berkeley_spec.rb
benschwarz-smoke-0.5.3 vendor/moneta/spec/moneta_berkeley_spec.rb
benschwarz-smoke-0.5.4 vendor/moneta/spec/moneta_berkeley_spec.rb
benschwarz-smoke-0.5.5 vendor/moneta/spec/moneta_berkeley_spec.rb
benschwarz-smoke-0.5.6 vendor/moneta/spec/moneta_berkeley_spec.rb