Sha256: f335219596ba23c471f8dcb12a597bb745b04fb1cab1e70960fb4b6e0c91925b

Contents?: true

Size: 810 Bytes

Versions: 1

Compression:

Stored size: 810 Bytes

Contents

Feature: Adhearsion Ahn CLI (daemon)
  As an Adhearsion user
  I want the ahn command to provide a 'daemon' command
  So that I can start my adhearsion app as a daemon

  Scenario: Command daemon with path works correctly
    Given JRuby skip test
    Given that I create a valid app under "path/somewhere"
    When I run `ahn daemon path/somewhere`
    And I cd to "path/somewhere"
    And I terminate the process using the pid file "adhearsion.pid"
    Then the exit status should be 0

  Scenario: Command daemon with 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 cd to "path/somewhere"
    And I terminate the process using the pid file "ahn.pid"
    Then the exit status should be 0

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
adhearsion-2.0.0.beta1 features/cli_daemon.feature