Sha256: 93bc1cc52d95eb8dc4569b60b0c05bd4320590efe6aeda9979cde0ce44b79047

Contents?: true

Size: 497 Bytes

Versions: 7

Compression:

Stored size: 497 Bytes

Contents

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

begin
  require 'moneta/couch'

  describe "Moneta::Couch" do
    before(:each) do
      @cache = Moneta::Couch.new(:db => "couch_test")
      @expiration = Moneta::Couch.new(:db => "couch_test_expiration", :skip_expires => true)
      @cache.clear
      @expiration.clear
    end

    after(:all) do
      @cache.delete_store
      @expiration.delete_store
    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_couch_spec.rb
benschwarz-smoke-0.5.1 vendor/moneta/spec/moneta_couch_spec.rb
benschwarz-smoke-0.5.2 vendor/moneta/spec/moneta_couch_spec.rb
benschwarz-smoke-0.5.3 vendor/moneta/spec/moneta_couch_spec.rb
benschwarz-smoke-0.5.4 vendor/moneta/spec/moneta_couch_spec.rb
benschwarz-smoke-0.5.5 vendor/moneta/spec/moneta_couch_spec.rb
benschwarz-smoke-0.5.6 vendor/moneta/spec/moneta_couch_spec.rb