Sha256: f2f3f7f8808f2b54121d753e492eff9e7e5be67f9a87838b3f04d891735d417e

Contents?: true

Size: 1.16 KB

Versions: 4

Compression:

Stored size: 1.16 KB

Contents

Feature: Configure an application
  In order to make it trivial to configure an application
  As a Developer
  I want to utilize a simple configuration object
  
Scenario: Set a configuration option to a string
  Given a configuration class 'ConfigIt'
  When I set 'foo' to 'bar' in configuration class 'ConfigIt'
  Then config option 'foo' is 'bar'

Scenario: Set the same configuration option to different strings for two configuration classes
  Given a configuration class 'ConfigIt'
    And a configuration class 'ConfigItToo'
  When I set 'foo' to 'bar' in configuration class 'ConfigIt'
   And I set 'foo' to 'bar2' in configuration class 'ConfigItToo'
  Then in configuration class 'ConfigItToo' config option 'foo' is 'bar2' 
   And in configuration class 'ConfigIt' config option 'foo' is 'bar'
  
Scenario: Set a configuration option to an Array
  Given a configuration class 'ConfigIt'
  When I set 'foo' to:
    |key|
    |bar|
    |baz|
  Then an array is returned for 'foo'

Scenario: Set a configuration option from a file
  Given a configuration file 'bobo.config'
   When I load the configuration
   Then config option 'foo' is 'bar'
    And config option 'baz' is 'snarl'

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
mixlib-config-1.1.2 features/mixlib_config.feature
mixlib-config-1.1.2.rc01 features/mixlib_config.feature
mixlib-config-1.1.0.rc01 features/mixlib_config.feature
mixlib-config-1.1.0 features/mixlib_config.feature