Sha256: 18fa225bd6f53601ec0c6e113ffe1b2aee34bcd5057f86ff8ea338fc39e1312e
Contents?: true
Size: 828 Bytes
Versions: 1
Compression:
Stored size: 828 Bytes
Contents
Given "I have a message consumer" do |src| test_runner.run_config_code(src) expect(test_runner).to have_no_errors end Given(/^I subscribe to (#{STRING_OR_SYM}) with (#{STRING_OR_SYM})$/) do |destination, consumer| MessageDriver::Client.subscribe(destination, consumer) end Given "I create a subscription" do |src| test_runner.run_test_code("@subscription = #{src}") expect(test_runner).to have_no_errors end When "I cancel the subscription" do test_runner.run_test_code("@subscription.unsubscribe") step "I allow for processing" end When "I let the subscription process" do step "I allow for processing" step "I cancel the subscription" expect(test_runner).to have_no_errors end When "I restart the subscription" do test_runner.run_test_code("@subscription.start") step "I allow for processing" end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
message-driver-0.2.0.rc1 | features/step_definitions/message_consumers_steps.rb |