class Merb::Test::Rspec::ControllerMatchers::Provide
Public Class Methods
Public Instance Methods
failure_message()
click to toggle source
matches?(target)
click to toggle source
Parameters¶ ↑
- target<Symbol>
-
A ControllerClass or controller_instance
Returns¶ ↑
- 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 def matches?(target) @target = target provided_formats.include?( @expected ) end
negative_failure_message()
click to toggle source