Sha256: 381d7bcbfbde0478000f4c31d2640f0812209f0badde952a1a3acece3a7cb061

Contents?: true

Size: 1.74 KB

Versions: 15

Compression:

Stored size: 1.74 KB

Contents

Feature: listing the plugins available to motherbrain
  As a user of the motherbrain (MB) command line interface (CLI)
  I need a way to list all of the available plugins and versions
  So I can see what plugins and versions of those plugins I have installed

  Scenario: validate that the configuration exists
    Given a motherbrain configuration does not exist
    When I run a command that requires a config
    Then the output should contain:
      """
      No configuration found at:
      """
    And the exit status should be the code for error "ConfigNotFound"

  Scenario: validate that the configuration is valid
    Given an invalid motherbrain configuration
    When I run a command that requires a config
    Then the output should contain:
      """
      [err_code]: 3009 [message]: Invalid Configuration File
      """
    And the exit status should be the code for error "InvalidConfig"

  Scenario: asking for help with an invalid or non existent canfiguration file
    Given an invalid motherbrain configuration
    When I run the "help" command
    Then the exit status should be 0

  Scenario: getting version information with an invalid configuration file
    Given an invalid motherbrain configuration
    When I run the "version" command
    Then the exit status should be 0

  Scenario: configuring with an invalid configuration file
    Given an invalid motherbrain configuration
    When I run the "configure" command interactively with:
      | --force |
    And I type "https://api.opscode.com/organizations/vialstudio"
    And I type "reset"
    And I type "/Users/reset/.chef/reset.pem"
    And I type "riot"
    And I type "deployer"
    And I type "secr3tPassw0rd"
    And I type "root"
    And I type "secretpass"
    And the exit status should be 0

Version data entries

15 entries across 15 versions & 1 rubygems

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