Sha256: a40d62d783530f39352f00b5bbadf373b23357a4f0de92ca462bddb417d3e9d3

Contents?: true

Size: 1.29 KB

Versions: 27

Compression:

Stored size: 1.29 KB

Contents

Feature: Adhearsion Ahn CLI (stop)
  As an Adhearsion user
  I want the ahn command to provide a 'stop' command
  So that I can stop a running Adhearsion daemon

  @reconnect
  Scenario: Command stop with valid path and pid option
    Given JRuby skip test
    Given that I create a valid app under "path/somewhere"
    When I run `ahn daemon path/somewhere --pid-file=ahn.pid`
    And I run `ahn stop path/somewhere --pid-file=ahn.pid`
    Then the output should contain:
    """
    Stopping Adhearsion
    """
    And the file "ahn.pid" should not exist

  @reconnect
  Scenario: Command stop with valid path and no pid option
    Given JRuby skip test
    Given that I create a valid app under "path/somewhere"
    When I run `ahn daemon path/somewhere`
    And I run `ahn stop path/somewhere`
    Then the output should contain:
    """
    Stopping Adhearsion
    """
    And the file "path/somewhere/adhearsion.pid" should not exist

  @reconnect
  Scenario: Command stop with no options inside the app directory
    Given JRuby skip test
    Given that I create a valid app under "path/somewhere"
    And I cd to "path/somewhere"
    When I run `ahn daemon`
    And I run `ahn stop`
    Then the output should contain:
    """
    Stopping Adhearsion
    """
    And the file "adhearsion.pid" should not exist

Version data entries

27 entries across 27 versions & 1 rubygems

Version Path
adhearsion-2.5.4 features/cli_stop.feature
adhearsion-2.5.3 features/cli_stop.feature
adhearsion-2.5.2 features/cli_stop.feature
adhearsion-2.5.0 features/cli_stop.feature
adhearsion-2.4.0 features/cli_stop.feature
adhearsion-2.4.0.beta3 features/cli_stop.feature
adhearsion-2.4.0.beta2 features/cli_stop.feature
adhearsion-2.4.0.beta1 features/cli_stop.feature
adhearsion-2.3.5 features/cli_stop.feature
adhearsion-2.3.4 features/cli_stop.feature
adhearsion-2.3.3 features/cli_stop.feature
adhearsion-2.3.2 features/cli_stop.feature
adhearsion-2.3.1 features/cli_stop.feature
adhearsion-2.3.0 features/cli_stop.feature
adhearsion-2.2.1 features/cli_stop.feature
adhearsion-2.2.0 features/cli_stop.feature
adhearsion-2.1.3 features/cli_stop.feature
adhearsion-2.1.2 features/cli_stop.feature
adhearsion-2.1.1 features/cli_stop.feature
adhearsion-2.1.0 features/cli_stop.feature