spec/support/shared/adapter_examples.rb in message-driver-0.6.1 vs spec/support/shared/adapter_examples.rb in message-driver-0.7.0

- old
+ new

@@ -18,6 +18,9 @@ describe '#broker' do it 'returns the broker associated with the adapter' do expect(subject.broker).to be(broker) end end + + it { expect(subject.class).to respond_to(:new).with(1..2).arguments } + it { is_expected.to respond_to(:build_context).with(0).arguments } end