Sha256: 765f9961b1ebe6eb7366db4474d266aa27da7d20b2b684ad4252ef2f0699b38c

Contents?: true

Size: 979 Bytes

Versions: 18

Compression:

Stored size: 979 Bytes

Contents

Feature: Listing cookbooks defined by a Berksfile
  As a user with a Berksfile
  I want a way to show all my cookbooks and their versions without opening my Berksfile
  So that I can be more productive

  Scenario: Running the list command
    Given the cookbook store has the cookbooks:
      | fake1 | 1.0.0 |
      | fake2 | 1.0.1 |
    Given I write to "Berksfile" with:
      """
      cookbook 'fake1', '1.0.0'
      cookbook 'fake2', '1.0.1'
      """
    When I successfully run `berks list`
    Then the output should contain:
      """
      Cookbooks installed by your Berksfile:
        * fake1 (1.0.0)
        * fake2 (1.0.1)
      """
    And the exit status should be 0

  Scenario: Running the list command with no sources defined
    Given an empty file named "Berksfile"
    When I successfully run `berks list`
    Then the output should contain:
      """
      There are no cookbooks installed by your Berksfile
      """
    And the exit status should be 0

Version data entries

18 entries across 18 versions & 1 rubygems

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