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

Methods

Public Class methods

Parameters

String:The expected location

Public Instance methods

Returns

String:The failure message.

Returns

String:The controller and action name.

Parameters

target<Merb::Controller>:The controller to match

Returns

Boolean:True if the controller status is redirect and the locations match.

Returns

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

Returns

String:Either the target‘s location header or the target itself.

[Validate]