# File lib/moqueue/matchers.rb, line 88 88: def have_received_ack_for(expected_msg) 89: HasAcked.new(expected_msg) 90: end
Customer matcher for verifying a message was received with a specific routing key (matches exactly, no wildcards)
queue.bind(exchange).subscribe {|msg| msg} exchange.publish msg, :key => 'foo.bar.baz' queue.should have_received_routing_key('foo.bar.baz')
# File lib/moqueue/matchers.rb, line 99 99: def have_received_exact_routing_key(expected_key) 100: HasExactRoutingKey.new(expected_key) 101: end
# File lib/moqueue/matchers.rb, line 84 84: def have_received_message(expected_msg) 85: HasReceived.new(expected_msg) 86: end
Disabled; run with --debug to generate this.
Generated with the Darkfish Rdoc Generator 1.1.6.