spec/support/shared/destination_examples.rb in message-driver-0.2.2 vs spec/support/shared/destination_examples.rb in message-driver-0.3.0
- old
+ new
@@ -1,5 +1,7 @@
shared_examples "a destination" do
+ its(:adapter) { should be adapter }
+
describe "#pop_message" do
let(:body) { "The message body" }
let(:headers) { { "foo" => "bar", "bar" => "baz"} }
let(:properties) { {persistent: true, client_ack: true} }