features/pmirror.feature in pmirror-0.0.4 vs features/pmirror.feature in pmirror-0.1.1
- old
+ new
@@ -9,17 +9,16 @@
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|
|--exec|
|--version|
|--url|
+ |--log-level|
|-p|
- |-d|
|-l|
|-e|
|-u|
Scenario: Check version
@@ -67,5 +66,14 @@
| ../foo/floobah.txt|
| ../foo/mah.txt|
And the following files should not exist:
| ../foo/meh.txt|
+ Scenario: Use a config file
+ When I successfully run `pmirror -c ../../pmirror_test_config.yaml`
+ Then the exit status should be 0
+ And the following files should exist:
+ | ../foo/floober.txt|
+ | ../foo/floobah.txt|
+ | ../foo/mah.txt|
+ And the following files should not exist:
+ | ../foo/meh.txt|