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 f1f17fc commit 8007959Copy full SHA for 8007959
config/environments/test.rb
@@ -28,7 +28,11 @@
28
config.cache_store = :null_store
29
30
# Raise exceptions instead of rendering exception templates.
31
- config.action_dispatch.show_exceptions = false
+ config.action_dispatch.show_exceptions = if Gem::Version.new(Rails.version) >= Gem::Version.new('7.1')
32
+ :none
33
+ else
34
+ false
35
+ end
36
37
# Disable request forgery protection in test environment.
38
config.action_controller.allow_forgery_protection = false
0 commit comments