Skip to content

Commit

Permalink
Merge branch 'main' into fix-docker-file-tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ransombriggs committed Oct 25, 2024
2 parents a33a90a + c113fa3 commit f71f4e4
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion spec/dummy/config/environments/test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,10 @@
config.action_controller.perform_caching = false

# Raise exceptions instead of rendering exception templates
config.action_dispatch.show_exceptions = :none
# Rails 7.1 deprecated false in favor of :none, but we need to use false for
# backwards compatibility: https://github.com/rails/rails/pull/45867
config.action_dispatch.show_exceptions =
Gem::Version.new(Rails.version) >= Gem::Version.new('7.1.0') ? :none : false

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

0 comments on commit f71f4e4

Please sign in to comment.