Sha256: fa84a1396c68a60a8ead6f7541e3293572dd76c4ae464e6351915b47eca63bf6

Contents?: true

Size: 1.44 KB

Versions: 35

Compression:

Stored size: 1.44 KB

Contents

Feature: cli/install



  Scenario: A simple Cheffile with one cookbook
    Given a file named "cookbook-sources/apt/metadata.yaml" with:
      """
      name: apt
      version: 1.0.0
      dependencies: { }
      """
    Given a file named "Cheffile" with:
      """
      cookbook 'apt',
        :path => 'cookbook-sources'
      """
    When I run `librarian-chef install --verbose`
    Then the exit status should be 0
    And the file "cookbooks/apt/metadata.yaml" should contain exactly:
      """
      name: apt
      version: 1.0.0
      dependencies: { }
      """



  Scenario: A simple Cheffile with one cookbook with one dependency
    Given a file named "cookbook-sources/main/metadata.yaml" with:
      """
      name: main
      version: 1.0.0
      dependencies:
        sub: 1.0.0
      """
    Given a file named "cookbook-sources/sub/metadata.yaml" with:
      """
      name: sub
      version: 1.0.0
      dependencies: {}
      """
    Given a file named "Cheffile" with:
      """
      path 'cookbook-sources'
      cookbook 'main'
      """
    When I run `librarian-chef install --verbose`
    Then the exit status should be 0
    And the file "cookbooks/main/metadata.yaml" should contain exactly:
      """
      name: main
      version: 1.0.0
      dependencies:
        sub: 1.0.0
      """
    And the file "cookbooks/sub/metadata.yaml" should contain exactly:
      """
      name: sub
      version: 1.0.0
      dependencies: {}
      """



Version data entries

35 entries across 35 versions & 4 rubygems

Version Path
librarian-puppet-0.0.1.pre2 vendor/librarian/features/chef/cli/install.feature
librarian-puppet-0.0.1.pre vendor/librarian/features/chef/cli/install.feature
librarian-0.0.23 features/chef/cli/install.feature
librarian-0.0.22 features/chef/cli/install.feature
librarian-0.0.21 features/chef/cli/install.feature
librarian-0.0.20 features/chef/cli/install.feature
librarian-0.0.19 features/chef/cli/install.feature
librarian-0.0.18 features/chef/cli/install.feature
librarian-0.0.17 features/chef/cli/install.feature
librarian-0.0.16 features/chef/cli/install.feature
librarian-0.0.15 features/chef/cli/install.feature
librarian-0.0.14 features/chef/cli/install.feature
librarian-0.0.13 features/chef/cli/install.feature
librarian-0.0.12 features/chef/cli/install.feature
librarian-0.0.11 features/chef/cli/install.feature