Sha256: 02835530fcf11d3bcbd44d26ee5c79cab84be8ae2b8f062d92c3c3e01928a378

Contents?: true

Size: 388 Bytes

Versions: 2

Compression:

Stored size: 388 Bytes

Contents

RSpec.describe AbstractStore do
  subject(:store) { AbstractStore.new }

  describe '#read' do
    it 'should raise not implemented error' do
      expect { store.read(double) }.to raise_error NotImplementedError
    end
  end

  describe '#write' do
    it 'should raise not implemented error' do
      expect { store.write(double) }.to raise_error NotImplementedError
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
aggro-0.0.3 spec/lib/aggro/abstract_store_spec.rb
aggro-0.0.2 spec/lib/aggro/abstract_store_spec.rb