Sha256: a32730c24ebbc6a39f14a90dbceac5560ee72e8f597d0e86f0ee2cd688c94972

Contents?: true

Size: 918 Bytes

Versions: 28

Compression:

Stored size: 918 Bytes

Contents

@process
Feature: receive-events command line
  As a systems administrator
  I should be able to use receive-events
  From the command line

  Background:
    Given a file named "receive-events.yaml" with:
"""
test:
  redis:
    db: 14
    driver: ruby
"""

  Scenario: Running with --help shows usage information
    When I run `bundle exec bin/flapjack -n test receiver mirror --help`
    Then the exit status should be 0
    And  the output should contain "replay the last COUNT events from the source"
    And  the output should contain "-s, --source=arg"

  Scenario: Running receive-events with no arguments exits uncleanly and shows usage
    When I run `bundle exec bin/flapjack -n test receiver mirror`
    Then the exit status should not be 0
    And  the output should contain "error: s is required"

    #TODO: put some archived events into a separate redis db and then run receive-events to suck them up

Version data entries

28 entries across 28 versions & 1 rubygems

Version Path
flapjack-1.6.0 features/cli_receive-events.feature
flapjack-1.6.0rc4 features/cli_receive-events.feature
flapjack-1.6.0rc3 features/cli_receive-events.feature
flapjack-1.6.0rc2 features/cli_receive-events.feature
flapjack-1.6.0rc1 features/cli_receive-events.feature
flapjack-1.5.0 features/cli_receive-events.feature
flapjack-1.5.0rc1 features/cli_receive-events.feature
flapjack-1.4.0 features/cli_receive-events.feature
flapjack-1.4.0rc1 features/cli_receive-events.feature
flapjack-1.3.0 features/cli_receive-events.feature
flapjack-1.3.0rc3 features/cli_receive-events.feature
flapjack-1.3.0rc2 features/cli_receive-events.feature
flapjack-1.3.0rc1 features/cli_receive-events.feature
flapjack-1.2.2 features/cli_receive-events.feature
flapjack-1.2.1 features/cli_receive-events.feature
flapjack-1.2.1rc3 features/cli_receive-events.feature
flapjack-1.2.1rc2 features/cli_receive-events.feature
flapjack-1.2.1rc1 features/cli_receive-events.feature
flapjack-1.2.0 features/cli_receive-events.feature
flapjack-1.2.0rc2 features/cli_receive-events.feature