Sha256: a6154788a5034d8ca3bf162d863673e124a29d19be21d83c02ecce26a85adb93

Contents?: true

Size: 341 Bytes

Versions: 9

Compression:

Stored size: 341 Bytes

Contents

shared_examples :persist do
  it 'persists values' do
    moneta_property_of(keys: 1, values: 1).check do |keys:, values:|
      new_store.tap do |store|
        store[keys[0]] = values[0]
        store.close
      end
      new_store.tap do |store|
        store[keys[0]].should == values[0]
        store.close
      end
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
moneta-1.5.0 spec/features/persist.rb
moneta-1.4.2 spec/features/persist.rb
moneta-1.4.1 spec/features/persist.rb
moneta-1.4.0 spec/features/persist.rb
moneta-1.3.0 spec/features/persist.rb
moneta-1.2.1 spec/features/persist.rb
moneta-1.2.0 spec/features/persist.rb
moneta-1.1.1 spec/features/persist.rb
moneta-1.1.0 spec/features/persist.rb