Sha256: 0b8f6de1a998e5c6f46deedc3db486b5ca788f3397190591761d0c70e617b3f6
Contents?: true
Size: 416 Bytes
Versions: 6
Compression:
Stored size: 416 Bytes
Contents
RSpec.shared_examples 'an adapter context' do it { is_expected.to be_a MessageDriver::Adapters::ContextBase } describe '#adapter' do it { expect(subject.adapter).to be adapter } end it 'is initially valid' do is_expected.to be_valid end describe '#invalidate' do it 'causes the context to become invalid' do subject.invalidate expect(subject).to_not be_valid end end end
Version data entries
6 entries across 6 versions & 1 rubygems