Module: RSpec::Rails::RequestExampleGroup

Extended by:
ActiveSupport::Concern
Includes:
ActionController::TemplateAssertions, ActionDispatch::Assertions, ActionDispatch::Integration::Runner, Matchers::RedirectTo, Matchers::RenderTemplate, RailsExampleGroup
Defined in:
lib/rspec/rails/example/request_example_group.rb

Overview

Container class for request spec functionality.

Instance Method Summary (collapse)

Methods included from Matchers::RenderTemplate

#have_rendered

Methods included from Matchers::RedirectTo

#redirect_to

Methods included from Matchers

#be_a_new, #be_new_record, #be_valid, #have_http_status

Instance Method Details

- (Object) app

Delegates to Rails.application.

14
15
16
# File 'lib/rspec/rails/example/request_example_group.rb', line 14
def app
  ::Rails.application
end