Methods

Class/Module Index [+]

Quicksearch

RSpec::Rails::Matchers::RedirectTo

Public Instance Methods

redirect_to(target) click to toggle source

Delegates to `assert_redirected_to`

@example

response.should redirect_to(:action => "new")
# File lib/rspec/rails/matchers/redirect_to.rb, line 34
def redirect_to(target)
  RedirectTo.new(self, target)
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.