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_been_enqueued, #have_enqueued_job, #have_http_status

Instance Method Details

- (Object) app

Delegates to Rails.application.

21
22
23
# File 'lib/rspec/rails/example/request_example_group.rb', line 21
def app
  ::Rails.application
end