# File lib/merb-core/test/matchers/controller_matchers.rb, line 55 55: def be_error(expected) 56: BeError.new(expected) 57: end
Passes if the controller actually provides the target format
expected | A format to check |
ControllerClass.should provide( :html ) controller_instance.should provide( :xml )
# File lib/merb-core/test/matchers/controller_matchers.rb, line 105 105: def provide( expected ) 106: Provide.new( expected ) 107: end
Disabled; run with --debug to generate this.
Generated with the Darkfish Rdoc Generator 1.1.6.