features/commands/shelf/uninstall.feature in berkshelf-3.0.0.beta4 vs features/commands/shelf/uninstall.feature in berkshelf-3.0.0.beta5
- old
+ new
@@ -5,11 +5,10 @@
"""
Cookbook 'fake' is not in the Berkshelf shelf
"""
And the exit status should be "CookbookNotFound"
-
Scenario: With two cookbooks in the store
Given the cookbook store has the cookbooks:
| fake | 1.0.0 |
| ekaf | 2.3.4 |
When I successfully run `berks shelf uninstall fake`
@@ -20,11 +19,10 @@
And the cookbook store should not have the cookbooks:
| fake | 1.0.0 |
And the cookbook store should have the cookbooks:
| ekaf | 2.3.4 |
-
Scenario: With multiple cookbook versions installed
Given the cookbook store has the cookbooks:
| fake | 1.0.0 |
| fake | 1.1.0 |
| fake | 1.2.0 |
@@ -41,11 +39,10 @@
| fake | 1.0.0 |
| fake | 1.1.0 |
| fake | 1.2.0 |
| fake | 2.0.0 |
-
Scenario: When specifying a version
Given the cookbook store has the cookbooks:
| fake | 1.0.0 |
| fake | 1.1.0 |
| fake | 1.2.0 |
@@ -60,11 +57,10 @@
And the cookbook store should have the cookbooks:
| fake | 1.1.0 |
| fake | 1.2.0 |
| fake | 2.0.0 |
-
@spawn
Scenario: With contingencies
Given the cookbook store contains a cookbook "fake" "1.0.0" with dependencies:
| ekaf | 2.3.4 |
And the cookbook store has the cookbooks:
@@ -81,10 +77,9 @@
"""
Successfully uninstalled ekaf (2.3.4)
"""
And the cookbook store should not have the cookbooks:
| ekaf | 2.3.4 |
-
Scenario: With contingencies and the --force flag
Given the cookbook store contains a cookbook "fake" "1.0.0" with dependencies:
| ekaf | 2.3.4 |
And the cookbook store has the cookbooks: