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.
1 parent c1ef64e commit bd6da1bCopy full SHA for bd6da1b
lib/rspec/rails/example/request_example_group.rb
@@ -11,10 +11,8 @@ module RequestExampleGroup
11
include RSpec::Rails::Matchers::RenderTemplate
12
include ActionController::TemplateAssertions
13
14
- begin
+ if ActionPack::VERSION::MAJOR >= 5
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`.
0 commit comments