features/install_command.feature in berkshelf-1.4.0 vs features/install_command.feature in berkshelf-1.4.1
- old
+ new
@@ -316,5 +316,17 @@
Installing ohai (1.1.4) from site: 'http://cookbooks.opscode.com/api/v1/cookbooks'
Failed to download 'doesntexist' from git: 'git://github.com/asdjhfkljashflkjashfakljsf'
An error occured during Git execution:
"""
And the CLI should exit with the status code for error "GitError"
+
+ Scenario: invalid site symbol
+ Given I write to "Berksfile" with:
+ """
+ site :somethingabsurd
+ cookbook "ohai"
+ """
+ When I run `berks install`
+ Then the output should contain:
+ """
+ Unknown site shortname: :somethingabsurd. Supported shortnames are: :opscode
+ """