features/install_command.feature in berkshelf-1.1.0.rc1 vs features/install_command.feature in berkshelf-1.1.0
- old
+ new
@@ -339,16 +339,16 @@
And the CLI should exit with the status code for error "InvalidChefAPILocation"
Scenario: with a git error during download
Given I write to "Berksfile" with:
"""
- cookbook "ohai"
+ cookbook "ohai", "1.1.4"
cookbook "doesntexist", git: "git://github.com/asdjhfkljashflkjashfakljsf"
"""
When I run `berks install`
Then the output should contain:
"""
- Installing ohai (1.1.2) from site: 'http://cookbooks.opscode.com/api/v1/cookbooks'
+ 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"