features/cli.feature in modulesync-0.8.0 vs features/cli.feature in modulesync-0.8.1
- old
+ new
@@ -14,5 +14,22 @@
And the output should match /Commands:/
Scenario: When running the help subcommand
When I run `msync help`
And the output should match /Commands:/
+
+ Scenario: When overriding a setting from the config file on the command line
+ Given a file named "managed_modules.yml" with:
+ """
+ ---
+ - puppet-test
+ """
+ And a file named "modulesync.yml" with:
+ """
+ ---
+ namespace: maestrodev
+ git_base: 'git@github.com:'
+ """
+ And a directory named "moduleroot"
+ When I run `msync update --noop --git-base https://github.com/`
+ Then the exit status should be 0
+ And the output should not match /git@github.com:/