Sha256: b944d7af0b2b0fd07be542e072c1dbc6df533888d74af7f96f1c68997504d404

Contents?: true

Size: 584 Bytes

Versions: 3

Compression:

Stored size: 584 Bytes

Contents

# Generated by generate.rb
require 'helper'

describe_moneta "adapter_tokyocabinet_bdb" do
  def new_store
    Moneta::Adapters::TokyoCabinet.new(:file => File.join(make_tempdir, "adapter_tokyocabinet_bdb"), :type => :bdb)
  end

  def load_value(value)
    Marshal.load(value)
  end

  include_context 'setup_store'
  it_should_behave_like 'increment'
  it_should_behave_like 'null_stringkey_stringvalue'
  it_should_behave_like 'persist_stringkey_stringvalue'
  it_should_behave_like 'returndifferent_stringkey_stringvalue'
  it_should_behave_like 'store_stringkey_stringvalue'
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
moneta-0.7.3 spec/moneta/adapter_tokyocabinet_bdb_spec.rb
moneta-0.7.2 spec/moneta/adapter_tokyocabinet_bdb_spec.rb
moneta-0.7.1 spec/moneta/adapter_tokyocabinet_bdb_spec.rb