diff options
author | Christopher Brown <cb@opscode.com> | 2009-08-26 12:53:57 -0700 |
---|---|---|
committer | Christopher Brown <cb@opscode.com> | 2009-08-26 12:53:57 -0700 |
commit | 4804a909ab7b7d1a8f290869ed09ccf5f330f2bf (patch) | |
tree | 1f0cd0ecdf010393c9d7667f8f4e06dff6a37d81 /features/mixlib_config.feature | |
parent | fa4bdd1a6b39c7dc4be804d6c871d28a552afbcc (diff) | |
parent | 89b9dac377a441acd9c41b15482320ffcb03779e (diff) | |
download | mixlib-config-class_instance_variable.tar.gz |
integrate nuo's class instance variable with attribute setter changesclass_instance_variable
Diffstat (limited to 'features/mixlib_config.feature')
-rw-r--r-- | features/mixlib_config.feature | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/features/mixlib_config.feature b/features/mixlib_config.feature index 6defc7a..35432b7 100644 --- a/features/mixlib_config.feature +++ b/features/mixlib_config.feature @@ -4,12 +4,20 @@ Feature: Configure an application I want to utilize a simple configuration object Scenario: Set a configuration option to a string - Given a configuration class - When I set 'foo' to 'bar' + 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 + Given a configuration class 'ConfigIt' When I set 'foo' to: |key| |bar| |