Sha256: 84cda73af587ab182ce915cbe850aee26767ec39a40028332b3231b0b552e60c
Contents?: true
Size: 685 Bytes
Versions: 2
Compression:
Stored size: 685 Bytes
Contents
Given(/^I have a dynamic destination "(#{STRING_OR_SYM})" with the following messages on it$/) do |destination, table| dest = MessageDriver::Client[test_runner.broker_name].dynamic_destination(destination) 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::Client[test_runner.broker_name].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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
message-driver-0.4.0 | features/step_definitions/dynamic_destinations_steps.rb |
message-driver-0.3.0 | features/step_definitions/dynamic_destinations_steps.rb |