Class Merb::Test::Rspec::ControllerMatchers::Provide
In: lib/merb-core/test/matchers/controller_matchers.rb
Parent: Object

Methods

Public Class methods

Parameters

expected<Symbol>:A format to check

Public Instance methods

Returns

String:The failure message.

Parameters

target<Symbol>:A ControllerClass or controller_instance

Returns

Boolean:True if the formats provided by the target controller/class include the expected

Returns

String:The failure message to be displayed in negative matches.

Returns

Array[Symbol]:The formats the expected provides

[Validate]