Sha256: 766f16534dd70ff7d5e1a1734952c0ce32bf6b23330a155161320ed92e0e2d72

Contents?: true

Size: 895 Bytes

Versions: 3

Compression:

Stored size: 895 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.toml" with:
"""
[redis]
  db = 14
  driver = "ruby"
"""

  Scenario: Running with --help shows usage information
    When I run `bundle exec bin/flapjack 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 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

3 entries across 3 versions & 1 rubygems

Version Path
flapjack-2.0.0 features/cli_receive-events.feature
flapjack-2.0.0rc1 features/cli_receive-events.feature
flapjack-2.0.0b1 features/cli_receive-events.feature