features/cli_restart.feature in adhearsion-2.5.4 vs features/cli_restart.feature in adhearsion-2.6.0

- old
+ new

@@ -1,13 +1,12 @@ Feature: Adhearsion Ahn CLI (restart) As an Adhearsion user I want the ahn command to provide a 'restart' command So that I can restart a running Adhearsion daemon - @reconnect + @reconnect @skip_jruby Scenario: Command restart with a missing or wrong pid - 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 restart path/somewhere --pid-file=ahn2.pid` Then the output should contain: """ @@ -27,17 +26,27 @@ """ A valid path is required for restart, unless run from an Adhearson app directory """ And the exit status should be 1 - @reconnect + @reconnect @skip_jruby Scenario: Command restart with no path inside of the app directory - Given JRuby skip test Given that I create a valid app under "path/somewhere" When I cd to "path/somewhere" And I run `ahn daemon --pid-file=ahn.pid` And I run `ahn restart --pid-file=ahn.pid` Then the output should contain: """ Starting Adhearsion """ - And the exit status should be 0 \ No newline at end of file + And the exit status should be 0 + + @reconnect @skip_jruby + Scenario: Command restart on a stopped application + Given that I create a valid app under "path/somewhere" + When I cd to "path/somewhere" + And I run `ahn restart --pid-file=ahn.pid` + Then the output should contain: + """ + Starting Adhearsion + """ + And the exit status should be 0