features/commands/contingent.feature in berkshelf-3.0.0.beta6 vs features/commands/contingent.feature in berkshelf-3.0.0.beta7
- old
+ new
@@ -14,14 +14,15 @@
And I have a Berksfile pointing at the local Berkshelf API with:
"""
cookbook 'fake', '1.0.0'
cookbook 'ekaf', '1.0.0'
"""
+ And I run `berks install`
And I successfully run `berks contingent dep`
Then the output should contain:
"""
- Cookbooks in this Berksfile contingent upon dep:
+ Cookbooks in this Berksfile contingent upon 'dep':
* ekaf (1.0.0)
* fake (1.0.0)
"""
Scenario: When there are no dependent cookbooks
@@ -29,18 +30,19 @@
| fake | 1.0.0 |
And I have a Berksfile pointing at the local Berkshelf API with:
"""
cookbook 'fake', '1.0.0'
"""
+ And I run `berks install`
And I successfully run `berks contingent dep`
Then the output should contain:
"""
- There are no cookbooks contingent upon 'dep' defined in this Berksfile
+ There are no cookbooks in this Berksfile contingent upon 'dep'.
"""
Scenario: When the cookbook is not in the Berksfile
Given I have a Berksfile pointing at the local Berkshelf API
And I successfully run `berks contingent dep`
Then the output should contain:
"""
- There are no cookbooks contingent upon 'dep' defined in this Berksfile
+ There are no cookbooks in this Berksfile contingent upon 'dep'.
"""