Module: RSpec::Rails::RequestExampleGroup Private

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

This module is part of a private API. You should avoid using this module if possible, as it may be removed or be changed in the future.

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

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Delegates to Rails.application.

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