features/pmirror.feature in pmirror-0.0.3 vs features/pmirror.feature in pmirror-0.0.4
- old
+ new
@@ -5,10 +5,11 @@
Scenario: App just runs
When I get help for "pmirror"
Then the exit status should be 0
And the banner should be present
+ And the banner should include the version
And the banner should document that this app takes options
And the following options should be documented:
|--pattern|
|--debug|
|--localdir|
@@ -18,9 +19,13 @@
|-p|
|-d|
|-l|
|-e|
|-u|
+
+ Scenario: Check version
+ When I successfully run `pmirror --version`
+ Then the exit status should be 0
Scenario: Download a file
When I successfully run `pmirror -p meh -l ../foo -u http://localhost:55555`
Then the exit status should be 0
And the following files should exist: