Sha256: 44aa5de9fef3b1e3ed932000b94220e71e0b1939d49540b6aa097a467a487bc1

Contents?: true

Size: 755 Bytes

Versions: 10

Compression:

Stored size: 755 Bytes

Contents

Feature: list command
  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

  @slow_process
  Scenario: Running the list command
    Given I write to "Berksfile" with:
      """
      cookbook "build-essential", "1.2.0"
      cookbook "chef-client", "1.2.0"
      cookbook "mysql", "1.2.4"
      cookbook "openssl", "1.0.0"
      """
    And I successfully run `berks install`
    When I run `berks list`
    Then the output should contain:
      """
      Cookbooks installed by your Berksfile:
        * build-essential (1.2.0)
        * chef-client (1.2.0)
        * mysql (1.2.4)
        * openssl (1.0.0)
      """
    And the exit status should be 0

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
berkshelf-1.4.6 features/list_command.feature
berkshelf-1.4.5 features/list_command.feature
berkshelf-1.4.4 features/list_command.feature
berkshelf-1.4.3 features/list_command.feature
berkshelf-1.4.2 features/list_command.feature
berkshelf-1.4.1 features/list_command.feature
berkshelf-1.4.0 features/list_command.feature
berkshelf-1.4.0.rc1 features/list_command.feature
berkshelf-1.3.1 features/list_command.feature
berkshelf-1.3.0.rc1 features/list_command.feature