Module: RSpec::Rails::SystemExampleGroup
- Extended by:
- ActiveSupport::Concern
- Includes:
- ActionController::TemplateAssertions, ActionDispatch::Assertions, ActionDispatch::Integration::Runner, ActionDispatch::IntegrationTest::Behavior, ActionDispatch::SystemTesting::TestHelpers::ScreenshotHelper, ActionDispatch::SystemTesting::TestHelpers::SetupAndTeardown, Matchers::RedirectTo, Matchers::RenderTemplate, RailsExampleGroup
- Defined in:
- lib/rspec/rails/example/system_example_group.rb
Overview
Container class for system tests
Instance Method Summary (collapse)
-
- (Object) app
Delegates to
Rails.application
. -
- (Boolean) passed?
for the SystemTesting Screenshot situation.
Methods included from Matchers::RenderTemplate
Methods included from Matchers::RedirectTo
Instance Method Details
- (Object) app
Delegates to Rails.application
.
46 47 48 |
# File 'lib/rspec/rails/example/system_example_group.rb', line 46 def app ::Rails.application end |
- (Boolean) passed?
for the SystemTesting Screenshot situation
32 33 34 |
# File 'lib/rspec/rails/example/system_example_group.rb', line 32 def passed? RSpec.current_example.exception.nil? end |