Sha256: afa2c07da2f582eef92e5b368cc24dec3f67b90a919ca24a6ce9f0151e6114bf
Contents?: true
Size: 1.86 KB
Versions: 1
Compression:
Stored size: 1.86 KB
Contents
Feature: berks show Scenario: With no options Given the cookbook store has the cookbooks: | fake | 1.0.0 | And I have a Berksfile pointing at the local Berkshelf API with: """ cookbook 'fake', '1.0.0' """ And the Lockfile has: | fake | 1.0.0 | When I successfully run `berks show fake` Then the output should contain: """ Name: fake Version: 1.0.0 Description: A fabulous new cookbook Author: YOUR_COMPANY_NAME Email: YOUR_EMAIL License: none """ Scenario: When the cookbook is not in the Berksfile Given I have a Berksfile pointing at the local Berkshelf API When I run `berks show fake` Then the output should contain: """ Could not find cookbook(s) 'fake' in any of the configured dependencies. Is it in your Berksfile? """ And the exit status should be "DependencyNotFound" Scenario: When there is no lockfile present And I have a Berksfile pointing at the local Berkshelf API with: """ cookbook 'fake', '1.0.0' """ When I run `berks show fake` Then the output should contain: """ Could not find cookbook 'fake (>= 0.0.0)'. Try running `berks install` to download and install the missing dependencies. """ And the exit status should be "LockfileNotFound" Scenario: When the cookbook is not installed Given the cookbook store is empty And I have a Berksfile pointing at the local Berkshelf API with: """ cookbook 'fake', '1.0.0' """ And the Lockfile has: | fake | 1.0.0 | When I run `berks show fake` Then the output should contain: """ Could not find cookbook 'fake (= 1.0.0)'. Try running `berks install` to download and install the missing dependencies. """ And the exit status should be "CookbookNotFound"
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
berkshelf-3.0.0.beta3 | features/commands/show.feature |