Sha256: e286b7e56ed33e6d8a9332a0d3bfce4aaaf46098a9481d0df969259b96224c96
Contents?: true
Size: 971 Bytes
Versions: 2
Compression:
Stored size: 971 Bytes
Contents
@bunny @in_memory Feature: Destination Metadata Background: Given I am connected to the broker And I have a destination :my_queue with no messages on it Scenario: Checking the message count when the queue is empty When I execute the following code """ruby destination = MessageDriver::Client.find_destination(:my_queue) expect(destination.message_count).to eq(0) """ Then I expect to have no errors And I expect to find no messages on :my_queue Scenario: Checking the message count when the queue has messages When I send the following messages to :my_queue | body | | Test Message 1 | | Test Message 2 | And I allow for processing And I execute the following code """ruby destination = MessageDriver::Client.find_destination(:my_queue) expect(destination.message_count).to eq(2) """ Then I expect to have no errors And I expect to find 2 messages on :my_queue
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
message-driver-0.4.0 | features/destination_metadata.feature |
message-driver-0.3.0 | features/destination_metadata.feature |