diff --git a/spec/config_spec.rb b/spec/config_spec.rb index ae5654a..1cc4e70 100644 --- a/spec/config_spec.rb +++ b/spec/config_spec.rb @@ -40,5 +40,11 @@ describe Apache::Config, "should handle the basics of Apache config" do Apache::Config.blockify("Tag", [ 'part', 'part2' ]) do something "goes here" end.should == ['', ' Something "goes here"', ''] + + Apache::Config.reset! + + Apache::Config.blockify("Tag", 'part') do + something "goes here" + end.should == ['', ' Something "goes here"', ''] end end