|
@@ -26,6 +26,7 @@ foo= foovalue2
|
|
baz=bazvalue
|
|
baz=bazvalue
|
|
#another comment
|
|
#another comment
|
|
; yet another comment
|
|
; yet another comment
|
|
|
|
+ zot = multi word value
|
|
EOS
|
|
EOS
|
|
template.split("\n")
|
|
template.split("\n")
|
|
}
|
|
}
|
|
@@ -45,6 +46,7 @@ baz=bazvalue
|
|
subject.get_value("section1", "bar").should == "barvalue"
|
|
subject.get_value("section1", "bar").should == "barvalue"
|
|
subject.get_value("section2", "foo").should == "foovalue2"
|
|
subject.get_value("section2", "foo").should == "foovalue2"
|
|
subject.get_value("section2", "baz").should == "bazvalue"
|
|
subject.get_value("section2", "baz").should == "bazvalue"
|
|
|
|
+ subject.get_value("section2", "zot").should == "multi word value"
|
|
end
|
|
end
|
|
|
|
|
|
end
|
|
end
|
|
@@ -102,4 +104,4 @@ foo=foovalue
|
|
end
|
|
end
|
|
|
|
|
|
end
|
|
end
|
|
-end
|
|
|
|
|
|
+end
|