spec/moneta/simple_hashfile_spec.rb in moneta-0.7.8 vs spec/moneta/simple_hashfile_spec.rb in moneta-0.7.9

- old
+ new

@@ -4,19 +4,24 @@ describe_moneta "simple_hashfile" do def log @log ||= File.open(File.join(make_tempdir, 'simple_hashfile.log'), 'a') end + def features + [:create, :increment] + end + def new_store Moneta.new(:HashFile, :dir => File.join(make_tempdir, "simple_hashfile"), :logger => {:out => log}) end def load_value(value) Marshal.load(value) end include_context 'setup_store' it_should_behave_like 'create' + it_should_behave_like 'features' it_should_behave_like 'increment' it_should_behave_like 'marshallable_key' it_should_behave_like 'marshallable_value' it_should_behave_like 'multiprocess' it_should_behave_like 'null_objectkey_objectvalue'