Module: RSpec::Rails::RequestExampleGroup
| Relationships & Source Files | |
| Super Chains via Extension / Inclusion / Inheritance | |
|
Class Chain:
self,
MinitestAssertionAdapter::ClassMethods,
SetupAndTeardownAdapter::ClassMethods,
ActiveSupport::Concern
|
|
|
Instance Chain:
self,
ActionDispatch::IntegrationTest::Behavior,
ActionController::TemplateAssertions,
Matchers::RenderTemplate,
Matchers::RedirectTo,
ActionDispatch::Assertions,
ActionDispatch::Integration::Runner,
RailsExampleGroup,
ActiveSupport::ExecutionContext::TestHelper,
ActiveSupport::CurrentAttributes::TestHelper,
TaggedLoggingAdapter,
FixtureSupport::Fixtures,
FixtureSupport,
ActiveRecord::TestFixtures,
MinitestAssertionAdapter,
MinitestLifecycleAdapter,
SetupAndTeardownAdapter
|
|
| Defined in: | rspec-rails/lib/rspec/rails/example/request_example_group.rb |
Overview
Container class for request spec functionality.
Class Method Summary
MinitestAssertionAdapter::ClassMethods - Extended
| assertion_method_names | Returns the names of assertion methods that we want to expose to examples without exposing non-assertion methods in Test::Unit or Minitest. |
| define_assertion_delegators | |
SetupAndTeardownAdapter::ClassMethods - Extended
Instance Attribute Summary
FixtureSupport - Included
| #run_in_transaction? | Monkey patched to avoid collisions with ‘let(:name)’ since |
Instance Method Summary
-
#app
Delegates to
Rails.application.
Matchers::RenderTemplate - Included
| #have_rendered | Delegates to |
| #render_template | Alias for Matchers::RenderTemplate#have_rendered. |
Matchers::RedirectTo - Included
| #redirect_to | Delegates to |
TaggedLoggingAdapter - Included
| #tagged_logger | Vendored from activesupport/lib/active_support/testing/tagged_logging.rb This implements the tagged_logger method where it is expected, but doesn’t call |
MinitestAssertionAdapter - Included
MinitestLifecycleAdapter - Included
SetupAndTeardownAdapter - Included
DSL Calls
included
[ GitHub ]Instance Method Details
#app
Delegates to Rails.application.
# File 'rspec-rails/lib/rspec/rails/example/request_example_group.rb', line 16
def app ::Rails.application end