Sha256: e5f7b093f935a1f1efa59751421997876d43935a16e6882da427ae9319642b25

Contents?: true

Size: 628 Bytes

Versions: 36

Compression:

Stored size: 628 Bytes

Contents

describe AmaLayout::Notifications::AbstractStore do
  context 'when inheriting' do
    subject { Class.new(described_class).new }

    describe '#get' do
      it 'raises NotImplementedError' do
        expect { subject.get('test') }.to raise_error(NotImplementedError)
      end
    end

    describe '#set' do
      it 'raises NotImplementedError' do
        expect { subject.set('test', 'test') }.to raise_error(NotImplementedError)
      end
    end

    describe '#delete' do
      it 'raises NotImplementedError' do
        expect { subject.delete('test') }.to raise_error(NotImplementedError)
      end
    end
  end
end

Version data entries

36 entries across 36 versions & 1 rubygems

Version Path
ama_layout-11.5.1 spec/ama_layout/notifications/abstract_store_spec.rb
ama_layout-11.5.0 spec/ama_layout/notifications/abstract_store_spec.rb
ama_layout-11.4.0 spec/ama_layout/notifications/abstract_store_spec.rb
ama_layout-11.3.1 spec/ama_layout/notifications/abstract_store_spec.rb
ama_layout-11.3.0 spec/ama_layout/notifications/abstract_store_spec.rb
ama_layout-11.2.0 spec/ama_layout/notifications/abstract_store_spec.rb
ama_layout-11.1.0 spec/ama_layout/notifications/abstract_store_spec.rb
ama_layout-10.2.0 spec/ama_layout/notifications/abstract_store_spec.rb
ama_layout-10.1.0 spec/ama_layout/notifications/abstract_store_spec.rb
ama_layout-10.0.1 spec/ama_layout/notifications/abstract_store_spec.rb
ama_layout-9.5.3 spec/ama_layout/notifications/abstract_store_spec.rb
ama_layout-9.5.2 spec/ama_layout/notifications/abstract_store_spec.rb
ama_layout-9.5.1 spec/ama_layout/notifications/abstract_store_spec.rb
ama_layout-9.5.0 spec/ama_layout/notifications/abstract_store_spec.rb
ama_layout-9.4.1 spec/ama_layout/notifications/abstract_store_spec.rb
ama_layout-9.4.0 spec/ama_layout/notifications/abstract_store_spec.rb
ama_layout-9.3.0 spec/ama_layout/notifications/abstract_store_spec.rb
ama_layout-9.2.0 spec/ama_layout/notifications/abstract_store_spec.rb
ama_layout-9.1.0 spec/ama_layout/notifications/abstract_store_spec.rb
ama_layout-9.0.0 spec/ama_layout/notifications/abstract_store_spec.rb