Sha256: 71ed82a506435a751a5c6154f32025c0ae3790340bc2fcbb72135995fb714293

Contents?: true

Size: 902 Bytes

Versions: 2

Compression:

Stored size: 902 Bytes

Contents

Feature: head-chef env list
  Background:
    Given the current git branch is named "test"

  Scenario: Listing cookbook and version constraints for existing Chef environment
    Given the Chef Server has an environment named "test"
    And the environment "test" has the following cookbook version constraints:
      | cookbook | 0.0.1 |
    When I run `head-chef env list`
    Then the output should contain "cookbook: 0.0.1"

  Scenario: Listing cookbook and version constraints for non-existent Chef environment
    Given the Chef Server does not have an environment named "test"
    When I run `head-chef env list`
    Then the output should contain "not found"

  Scenario: Calling list command with environment option
    Given the Chef Server has an environment named "other_branch"
    When I run `head-chef env list --environment=other_branch`
    Then the output should contain "COOKBOOKS:"

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
head_chef-0.1.1 features/commands/list.feature
head_chef-0.1.0 features/commands/list.feature