Module RSpec::Rails::RequestExampleGroup
In: lib/rspec/rails/example/request_example_group.rb

Extends ActionDispatch::Integration::Runner to work with RSpec.

Matchers

In addition to the stock matchers from rspec-expectations, request specs add these matchers, which delegate to rails’ assertions:

  response.should render_template(*args)
  => delegates to assert_template(*args)

  response.should redirect_to(destination)
  => delegates to assert_redirected_to(destination)

Included Modules

RSpec::Rails::RailsExampleGroup ActionDispatch::Integration::Runner ActionDispatch::Assertions RSpec::Rails::Matchers::RedirectTo RSpec::Rails::Matchers::RenderTemplate ActionController::TemplateAssertions

Classes and Modules

Module RSpec::Rails::RequestExampleGroup::InstanceMethods

[Validate]