features/cli.feature in modulesync-2.2.0 vs features/cli.feature in modulesync-2.3.0

- old
+ new

@@ -15,14 +15,21 @@ When I run `msync hook` And the output should match /Commands:/ Then the exit status should be 1 Scenario: When running the help command - When I run `msync help` - And the output should match /Commands:/ - Then the exit status should be 0 + When I successfully run `msync help` + Then the output should match /Commands:/ + Scenario: Use --help options on subcommand should show subcommand help + When I successfully run `msync clone --help` + Then the output should contain: + """ + Usage: + msync clone + """ + Scenario: When overriding a setting from the config file on the command line Given a puppet module "puppet-test" from "fakenamespace" And a file named "managed_modules.yml" with: """ --- @@ -33,11 +40,10 @@ --- namespace: default """ And a git_base option appended to "modulesync.yml" for local tests And a directory named "moduleroot" - When I run `msync update --noop --namespace fakenamespace --branch command-line-branch` - Then the exit status should be 0 - And the output should contain: + When I successfully run `msync update --verbose --noop --namespace fakenamespace --branch command-line-branch` + Then the output should contain: """ Creating new branch command-line-branch """