@all_adapters
Feature: Publishing A Message
  Background:
    Given the following broker configuration:
    """ruby
    MessageDriver::Broker.define do |b|
      b.destination :my_queue, "my_queue"
    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 |

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

  Scenario: Publishing a message
    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 |

Fix a typo in a feature description
Fix a typo in a feature description
