# File lib/merb-core/test/matchers/controller_matchers.rb, line 55 def be_error(expected) BeError.new(expected) end
Passes if the controller actually provides the target format
expected<Symbol> |
A format to check |
ControllerClass.should provide( :html ) controller_instance.should provide( :xml )
# File lib/merb-core/test/matchers/controller_matchers.rb, line 105 def provide( expected ) Provide.new( expected ) end
Generated with the Darkfish Rdoc Generator 2.