Sha256: b34a58999650df1fd9945c798243d5a6fb32d8346b84d16e763f60c11af44cf0

Contents?: true

Size: 1.17 KB

Versions: 65

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

65 entries across 65 versions & 1 rubygems

Version Path
berkshelf-7.0.7 features/community_site.feature
berkshelf-6.3.4 features/community_site.feature
berkshelf-7.0.6 features/community_site.feature
berkshelf-7.0.5 features/community_site.feature
berkshelf-6.3.3 features/community_site.feature
berkshelf-7.0.4 features/community_site.feature
berkshelf-7.0.3 features/community_site.feature
berkshelf-7.0.2 features/community_site.feature
berkshelf-7.0.1 features/community_site.feature
berkshelf-7.0.0 features/community_site.feature
berkshelf-6.3.2 features/community_site.feature
berkshelf-6.3.1 features/community_site.feature
berkshelf-6.3.0 features/community_site.feature
berkshelf-6.2.2 features/community_site.feature
berkshelf-6.2.1 features/community_site.feature
berkshelf-6.2.0 features/community_site.feature
berkshelf-6.1.1 features/community_site.feature
berkshelf-6.1.0 features/community_site.feature
berkshelf-6.0.1 features/community_site.feature
berkshelf-6.0.0 features/community_site.feature