Sha256: 2f680da5e71db65d90a4d8413bc4cf815ebf8911c9e03f89f76e35ee7ec44d20

Contents?: true

Size: 303 Bytes

Versions: 11

Compression:

Stored size: 303 Bytes

Contents

shared_examples :store_large do
  it 'should store values up to 32k' do
    value = 'x' * (32 * 1024)
    store['large'] = value
    store['large'].should == value
  end

  it 'should store keys up to 128 bytes' do
    key = 'x' * 128
    store[key] = 'value'
    store[key].should == 'value'
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

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