Sha256: d4451979042dd24b5c765988004ecc790c9a93d406920e55bcfaa18249128794

Contents?: true

Size: 1.17 KB

Versions: 2

Compression:

Stored size: 1.17 KB

Contents

Feature: Installing cookbooks from the community site
  Scenario: when the cookbook exists
    Given I have a Berksfile pointing at the community API endpoint with:
      """
      cookbook 'apache2', '1.6.6'
      """
    When I successfully run `berks install`
    Then the output should contain:
      """
      Installing apache2 (1.6.6)
      """
    And the cookbook store should have the cookbooks:
      | apache2 | 1.6.6 |


  Scenario: when the cookbook does not exist
    Given I have a Berksfile pointing at the community API endpoint with:
      """
      cookbook '1234567890'
      """
    When I run `berks install`
    Then the output should contain:
      """
      Unable to find a solution for demands: 1234567890 (>= 0.0.0)
      """
    And the exit status should be "NoSolutionError"


  Scenario: when the cookbook exists, but the version does not
    Given I have a Berksfile pointing at the community API endpoint with:
      """
      cookbook 'apache2', '0.0.0'
      """
    When I run `berks install`
    Then the output should contain:
      """
      Unable to find a solution for demands: apache2 (= 0.0.0)
      """
    And the exit status should be "NoSolutionError"

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
berkshelf-3.0.0.beta4 features/community_site.feature
berkshelf-3.0.0.beta3 features/community_site.feature