Sha256: a8439526a19ff990151d3f0f5cc1553f614d9d1bdcd24336a69eb822df536649
Contents?: true
Size: 457 Bytes
Versions: 1
Compression:
Stored size: 457 Bytes
Contents
shared_examples 'client acks are supported' do describe '#supports_client_acks' do it 'returns true' do expect(subject.supports_client_acks?).to eq(true) end end it { should respond_to :ack_message } it { should respond_to :nack_message } end shared_examples 'client acks are not supported' do describe '#supports_client_acks' do it 'returns false' do expect(subject.supports_client_acks?).to eq(false) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
message-driver-0.4.0 | spec/support/shared/client_ack_examples.rb |