Sha256: 605080d0e9154b0dd456bf659807b20b0a1b01a3e9c486cbbe3241c0fbf6392c

Contents?: true

Size: 307 Bytes

Versions: 11

Compression:

Stored size: 307 Bytes

Contents

shared_examples :not_increment do
  it 'does not support #increment' do
    expect do
      store.increment('inckey')
    end.to raise_error(NotImplementedError)
  end

  it 'does not support #decrement' do
    expect do
      store.increment('inckey')
    end.to raise_error(NotImplementedError)
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

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