features/cli_stop.feature in adhearsion-2.0.0.beta1 vs features/cli_stop.feature in adhearsion-2.0.0.rc1
- old
+ new
@@ -1,10 +1,11 @@
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`
@@ -12,10 +13,11 @@
"""
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`
@@ -23,9 +25,10 @@
"""
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`