String | The failure message. |
# File lib/merb-core/test/matchers/controller_matchers.rb, line 80 80: def failure_message 81: "expected #{@target.name} to provide #{@expected}, but it doesn't" 82: end
target | A ControllerClass or controller_instance |
Boolean | True if the formats provided by the target controller/class include the expected |
# File lib/merb-core/test/matchers/controller_matchers.rb, line 73 73: def matches?(target) 74: @target = target 75: provided_formats.include?( @expected ) 76: end
String | The failure message to be displayed in negative matches. |
# File lib/merb-core/test/matchers/controller_matchers.rb, line 86 86: def negative_failure_message 87: "expected #{@target.name} not to provide #{@expected}, but it does" 88: end
Disabled; run with --debug to generate this.
Generated with the Darkfish Rdoc Generator 1.1.6.