Sha256: 33311a6d7e955d673382beb84836485eef323d61c07a3c0482ef597a16aa16ab

Contents?: true

Size: 899 Bytes

Versions: 15

Compression:

Stored size: 899 Bytes

Contents

Feature: Creating an environment
  As a mb user
  I can create an environment via motherbrain
  So I can manage an environment without using other tools such as knife

  @chef_server
  Scenario: Create an environment
    Given there is not an environment on the chef server named "test_env"
    When I create an environment named "test_env"
    Then the exit status should be 0
    And there should be an environment "test_env" on the chef server

  @chef_server
  Scenario: Creating an existing environment
    Given there is an environment on the chef server named "test_env"
    When I create an environment named "test_env"
    Then the output should contain:
      """
      An environment named 'test_env' already exists in the Chef Server.
      """
    And the exit status should be the code for error "EnvironmentExists"
    And there should be an environment "test_env" on the chef server

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
motherbrain-1.5.0 features/cli/environment_command/create_command.feature
motherbrain-1.4.0 features/cli/environment_command/create_command.feature
motherbrain-1.3.0 features/cli/environment_command/create_command.feature
motherbrain-1.2.1 features/cli/environment_command/create_command.feature
motherbrain-1.2.0 features/cli/environment_command/create_command.feature
motherbrain-1.1.3 features/cli/environment_command/create_command.feature
motherbrain-1.1.2 features/cli/environment_command/create_command.feature
motherbrain-1.1.1 features/cli/environment_command/create_command.feature
motherbrain-1.1.0 features/cli/environment_command/create_command.feature
motherbrain-1.0.0 features/cli/environment_command/create_command.feature
motherbrain-0.14.5 features/cli/environment_command/create_command.feature
motherbrain-0.14.4 features/cli/environment_command/create_command.feature
motherbrain-0.14.3 features/cli/environment_command/create_command.feature
motherbrain-0.14.2 features/cli/environment_command/create_command.feature
motherbrain-0.13.1 features/cli/environment_command/create_command.feature