spec/support/shared/adapter_examples.rb in message-driver-0.2.2 vs spec/support/shared/adapter_examples.rb in message-driver-0.3.0

- old
+ new

@@ -12,6 +12,12 @@ subject.stop expect(ctx1).to_not be_valid expect(ctx2).to_not be_valid end end + + describe "#broker" do + it "returns the broker associated with the adapter" do + expect(subject.broker).to be(broker) + end + end end