Sha256: 10b124a7bb3fc1d546db0b08b69b6bf512d92af0388885fd4ab9de9c7fb480e8

Contents?: true

Size: 1.16 KB

Versions: 20

Compression:

Stored size: 1.16 KB

Contents

Feature: Listing all cookbooks in the Berkshelf shelf
  As a user with a cookbook store
  I want to show all the cookbooks I have installed
  So that I can be well informed

  Scenario: With no cookbooks in the store
    When I successfully run `berks shelf list`
    Then the output should contain:
      """
      There are no cookbooks in the Berkshelf shelf
      """
    And the exit status should be 0

  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 list`
    Then the output should contain:
      """
      Cookbooks in the Berkshelf shelf:
        * ekaf (2.3.4)
        * fake (1.0.0)
      """
    And the exit status should be 0

  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 |
      | fake | 2.0.0 |
    When I successfully run `berks shelf list`
    Then the output should contain:
      """
      Cookbooks in the Berkshelf shelf:
        * fake (1.0.0, 1.1.0, 1.2.0, 2.0.0)
      """
    And the exit status should be 0

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
berkshelf-2.0.18 features/shelf/list.feature
berkshelf-2.0.17 features/shelf/list.feature
berkshelf-2.0.16 features/shelf/list.feature
berkshelf-2.0.15 features/shelf/list.feature
berkshelf-2.0.14 features/shelf/list.feature
berkshelf-2.0.13 features/shelf/list.feature
berkshelf-2.0.12 features/shelf/list.feature
berkshelf-2.0.11 features/shelf/list.feature
berkshelf-2.0.10 features/shelf/list.feature
berkshelf-2.0.9 features/shelf/list.feature
berkshelf-2.0.8 features/shelf/list.feature
berkshelf-3.0.0.beta2 features/shelf/list.feature
berkshelf-3.0.0.beta1 features/shelf/list.feature
berkshelf-2.0.7 features/shelf/list.feature
berkshelf-2.0.6 features/shelf/list.feature
berkshelf-2.0.5 features/shelf/list.feature
berkshelf-2.0.4 features/shelf/list.feature
berkshelf-2.0.3 features/shelf/list.feature
berkshelf-2.0.1 features/shelf/list.feature
berkshelf-2.0.0 features/shelf/list.feature