# File test.rb, line 265 def test_add c = PageTemplate::TextCommand.new("bleargh") assert(@@if.add(c), "IfCommand#add adds a command to the block to be executed when true") assert(@@unless.add(c), "IfCommand#add adds a command to the block to be executed when false") end