Sha256: 1417868439572ecbffd87203ecf9b540b51fcf78c251cbc58e77fb16eace5f02
Contents?: true
Size: 654 Bytes
Versions: 1
Compression:
Stored size: 654 Bytes
Contents
Given(/^I have a dynamic destination "(#{STRING_OR_SYM})" with the following messages on it:$/) do |destination, table| dest = MessageDriver::Broker.dynamic_destination(destination, exclusive: true) test_runner.publish_table_to_destination(dest, table) end Then(/^I expect to find (#{NUMBER}) messages? on the dynamic destination "(#{STRING_OR_SYM})" with:$/) do |count, destination, table| expect(test_runner).to have_no_errors dest = MessageDriver::Broker.dynamic_destination(destination, passive: true) messages = test_runner.fetch_messages(dest) expect(messages).to have(count).items expect(messages).to match_message_table(table) end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
message-driver-0.1.0 | features/step_definitions/dynamic_destinations_steps.rb |