We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 56f7d3c + 22100fa commit 73890bcCopy full SHA for 73890bc
lib/rspec/rails/example/request_example_group.rb
@@ -11,6 +11,12 @@ module RequestExampleGroup
11
include RSpec::Rails::Matchers::RenderTemplate
12
include ActionController::TemplateAssertions
13
14
+ begin
15
+ include ActionDispatch::IntegrationTest::Behavior
16
+ rescue NameError # rubocop:disable Lint/HandleExceptions
17
+ # rails is too old to provide integration test helpers
18
+ end
19
+
20
# Delegates to `Rails.application`.
21
def app
22
::Rails.application
0 commit comments