Sha256: 94336fcafdaf6bf56e2241d8a37a1ba372f9418823d4c0e0855be195e01c00ce

Contents?: true

Size: 492 Bytes

Versions: 1

Compression:

Stored size: 492 Bytes

Contents

@all_adapters
Feature: Publishing A Message
  Background:
    Given the following broker configuration:
    """ruby
    MessageDriver::Broker.define do |b|
      b.destination :my_queue, "my_queue", exclusive: true
    end
    """

  Scenario: Running within a with_message_transaction block
    When I execute the following code:
    """ruby
    publish(:my_queue, "Test Message")
    """

    Then I expect to find 1 message on :my_queue with:
      | body         |
      | Test Message |

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
message-driver-0.1.0 features/publishing_a_message.feature