diff options
author | Chris Price <chris@puppetlabs.com> | 2012-10-01 09:31:59 -0700 |
---|---|---|
committer | Chris Price <chris@puppetlabs.com> | 2012-10-01 09:31:59 -0700 |
commit | 6d3e6a137a3a1d8c369f5bab6ca5d5dd7b2ac67b (patch) | |
tree | 952a5cac41530e0f5a1a7665f1a792a8df5143f5 /spec/unit/puppet/util | |
parent | e81a69adb5049f1b8fb433b3f37d82a4bb69d573 (diff) | |
parent | 3829e20c49652660aeac5c33f638dd19dca41f8e (diff) | |
download | puppet-inifile-6d3e6a137a3a1d8c369f5bab6ca5d5dd7b2ac67b.tar.gz puppet-inifile-6d3e6a137a3a1d8c369f5bab6ca5d5dd7b2ac67b.tar.bz2 |
Merge pull request #15 from reidmv/bug/master/spaces
Cool, thanks!
Diffstat (limited to 'spec/unit/puppet/util')
-rw-r--r-- | spec/unit/puppet/util/ini_file_spec.rb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/spec/unit/puppet/util/ini_file_spec.rb b/spec/unit/puppet/util/ini_file_spec.rb index f30c8cd..479085e 100644 --- a/spec/unit/puppet/util/ini_file_spec.rb +++ b/spec/unit/puppet/util/ini_file_spec.rb @@ -26,6 +26,7 @@ foo= foovalue2 baz=bazvalue #another comment ; yet another comment + zot = multi word value EOS template.split("\n") } @@ -45,6 +46,7 @@ baz=bazvalue subject.get_value("section1", "bar").should == "barvalue" subject.get_value("section2", "foo").should == "foovalue2" subject.get_value("section2", "baz").should == "bazvalue" + subject.get_value("section2", "zot").should == "multi word value" end end @@ -102,4 +104,4 @@ foo=foovalue end end -end
\ No newline at end of file +end |