features/shelf/show.feature in berkshelf-2.0.18 vs features/shelf/show.feature in berkshelf-3.0.0.beta1
- old
+ new
@@ -7,11 +7,11 @@
When I run `berks shelf show fake`
Then the output should contain:
"""
Cookbook 'fake' is not in the Berkshelf shelf
"""
- And the CLI should exit with the status code for error "CookbookNotFound"
+ And the exit status should be "CookbookNotFound"
Scenario: With cookbooks in the store
Given the cookbook store has the cookbooks:
| fake | 1.0.0 |
| ekaf | 2.3.4 |
@@ -61,10 +61,10 @@
When I run `berks shelf show fake --version 1.2.3`
Then the output should contain:
"""
Cookbook 'fake' (1.2.3) is not in the Berkshelf shelf
"""
- And the CLI should exit with the status code for error "CookbookNotFound"
+ And the exit status should be "CookbookNotFound"
Scenario: With multiple cookbook versions installed
Given the cookbook store has the cookbooks:
| fake | 1.0.0 |
| fake | 1.1.0 |