Sha256: 224671e017c158837c2757b5fad56c3ef634c97f3460797aa333edf157e9c0e6

Contents?: true

Size: 166 Bytes

Versions: 11

Compression:

Stored size: 166 Bytes

Contents

shared_examples :not_persist do
  it 'does not persist values' do
    store['key'] = 'val'
    store.close
    @store = nil

    store['key'].should be_nil
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

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