Sha256: d76cbeb7803f4ed6369c4aafef0883a19357b9150405a3295f15a0650a50f9d1

Contents?: true

Size: 851 Bytes

Versions: 11

Compression:

Stored size: 851 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[test_runner.broker_name].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

Given 'I create some subscriptions' do |src|
  test_runner.run_test_code(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

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
message-driver-1.0.1 features/step_definitions/message_consumers_steps.rb
message-driver-1.0.0 features/step_definitions/message_consumers_steps.rb
message-driver-0.7.2 features/step_definitions/message_consumers_steps.rb
message-driver-0.7.1 features/step_definitions/message_consumers_steps.rb
message-driver-0.7.0 features/step_definitions/message_consumers_steps.rb
message-driver-0.6.1 features/step_definitions/message_consumers_steps.rb
message-driver-0.6.0 features/step_definitions/message_consumers_steps.rb
message-driver-0.5.3 features/step_definitions/message_consumers_steps.rb
message-driver-0.5.2 features/step_definitions/message_consumers_steps.rb
message-driver-0.5.1 features/step_definitions/message_consumers_steps.rb
message-driver-0.5.0 features/step_definitions/message_consumers_steps.rb