Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Add a CLI test for restarting an application.

  • Loading branch information...
commit 85b3ba4c90cae590cb3b446eaffdde6fab405b79 1 parent 492a149
@Manfred Manfred authored
Showing with 6 additions and 0 deletions.
  1. +6 −0 test/passenger_pane/cli_test.nu
View
6 test/passenger_pane/cli_test.nu
@@ -68,6 +68,12 @@
(set arguments (NSString stringWithContentsOfFile:pathToCLIArguments encoding:NSUTF8StringEncoding error:nil))
(~ arguments should equal:"[\"delete\", \"test.local\"]")
))
+
+ (it "restarts an application" (do ()
+ (@cli restart:@application)
+ (set arguments (NSString stringWithContentsOfFile:pathToCLIArguments encoding:NSUTF8StringEncoding error:nil))
+ (~ arguments should equal:"[\"restart\", \"test.local\"]")
+ ))
))
((Bacon sharedInstance) run)
Please sign in to comment.
Something went wrong with that request. Please try again.