Sha256: 82d380087c05906f10723140a5d4744788472ae3c3e917dc765d75560aecadf4
Contents?: true
Size: 488 Bytes
Versions: 1
Compression:
Stored size: 488 Bytes
Contents
require 'spec_helper' module MessageDriver::Destination describe Base do subject(:destination) { Base.new(nil, nil, nil, nil) } it 'needs some real tests' include_examples "doesn't support #message_count" describe '#subscribe' do it 'raises an error' do expect { consumer = lambda do |_| end destination.subscribe(&consumer) }.to raise_error "#subscribe is not supported by #{destination.class}" end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
message-driver-0.4.0 | spec/units/message_driver/destination_spec.rb |