Sha256: 28f4fd4b28d2f18398dc2128d175e15809fc153e8827ea871e73cf7a35ab2e15
Contents?: true
Size: 1.78 KB
Versions: 3
Compression:
Stored size: 1.78 KB
Contents
# Generated by generate.rb require 'helper' describe_moneta "simple_memory_with_json_serializer" do def new_store Moneta.new(:Memory, :serializer => :json, :logger => {:out => File.open(File.join(make_tempdir, 'simple_memory_with_json_serializer.log'), 'a')}) end def load_value(value) ::MultiJson.load(value).first end include_context 'setup_store' it_should_behave_like 'increment' it_should_behave_like 'not_persist' it_should_behave_like 'null_stringkey_stringvalue' it_should_behave_like 'null_stringkey_hashvalue' it_should_behave_like 'null_stringkey_integervalue' it_should_behave_like 'null_hashkey_stringvalue' it_should_behave_like 'null_hashkey_hashvalue' it_should_behave_like 'null_hashkey_integervalue' it_should_behave_like 'null_integerkey_stringvalue' it_should_behave_like 'null_integerkey_hashvalue' it_should_behave_like 'null_integerkey_integervalue' it_should_behave_like 'returndifferent_stringkey_stringvalue' it_should_behave_like 'returndifferent_stringkey_hashvalue' it_should_behave_like 'returndifferent_hashkey_stringvalue' it_should_behave_like 'returndifferent_hashkey_hashvalue' it_should_behave_like 'returndifferent_integerkey_stringvalue' it_should_behave_like 'returndifferent_integerkey_hashvalue' it_should_behave_like 'store_stringkey_stringvalue' it_should_behave_like 'store_stringkey_hashvalue' it_should_behave_like 'store_stringkey_integervalue' it_should_behave_like 'store_hashkey_stringvalue' it_should_behave_like 'store_hashkey_hashvalue' it_should_behave_like 'store_hashkey_integervalue' it_should_behave_like 'store_integerkey_stringvalue' it_should_behave_like 'store_integerkey_hashvalue' it_should_behave_like 'store_integerkey_integervalue' it_should_behave_like 'transform_value' end
Version data entries
3 entries across 3 versions & 1 rubygems