Sha256: 823b50f4e02ff5eef0e6592fc272e0d81f15727053e61c33c13fa84168eb76c0

Contents?: true

Size: 598 Bytes

Versions: 3

Compression:

Stored size: 598 Bytes

Contents

# Generated by generate.rb
require 'helper'

describe_moneta "adapter_sequel" do
  def new_store
    Moneta::Adapters::Sequel.new(:db => (defined?(JRUBY_VERSION) ? "jdbc:sqlite:" : "sqlite:") + File.join(make_tempdir, "adapter_sequel"))
  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_sequel_spec.rb
moneta-0.7.2 spec/moneta/adapter_sequel_spec.rb
moneta-0.7.1 spec/moneta/adapter_sequel_spec.rb