creates a new DocumentOutput object from the response body if hasn’t already been created. This is called automatically by the element and tag methods
Source Code
# File merb/test/hpricot.rb, line 130 def process_output if !@block && (@output.nil? || (@controller.body != @response_output)) @output = HpricotTestHelper::DocumentOutput.new(@controller.body) @response_output = @controller.body end end
<code/>and<pre/>for code samples.