Skip to content

Commit

Permalink
Set action_dispatch.show_exceptions to :none
Browse files Browse the repository at this point in the history
false is a deprecated setting for this option
https://guides.rubyonrails.org/7_1_release_notes.html
  • Loading branch information
unoduetre committed Oct 17, 2024
1 parent 923f6c6 commit 494496d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/environments/test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
config.cache_store = :null_store

# Raise exceptions instead of rendering exception templates.
config.action_dispatch.show_exceptions = false
config.action_dispatch.show_exceptions = :none

# Disable request forgery protection in test environment.
config.action_controller.allow_forgery_protection = false
Expand Down

0 comments on commit 494496d

Please sign in to comment.