Sha256: e0fc53bbe3d0ce3b424c4e06f8db886ad1131641bd74b92cf1f1fe3529c73b92
Contents?: true
Size: 714 Bytes
Versions: 1
Compression:
Stored size: 714 Bytes
Contents
# Generated by generate-specs require 'helper' describe_moneta "stack_file_memory" do def new_store Moneta.build do use(:Stack) do add(Moneta.new(:Null)) add(Moneta::Adapters::Null.new) add { adapter :File, :dir => File.join(make_tempdir, "stack_file_memory") } add { adapter :Memory } end end end def load_value(value) Marshal.load(value) end include_context 'setup_store' it_should_behave_like 'not_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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
moneta-0.7.5 | spec/moneta/stack_file_memory_spec.rb |