Remove exception checking from system tests

This commit is contained in:
2023-05-02 03:14:55 +02:00
parent 81c13cecf4
commit 74db85f26a
3 changed files with 10 additions and 10 deletions

View File

@@ -22,14 +22,15 @@ Rails.application.configure do
"Cache-Control" => "public, max-age=#{1.hour.to_i}"
}
# Show full error reports and disable caching.
config.consider_all_requests_local = true
# Hide full error reports.
config.consider_all_requests_local = false
# Render exception templates instead of raising exceptions.
config.action_dispatch.show_exceptions = true
# Disable caching.
config.action_controller.perform_caching = false
config.cache_store = :null_store
# Raise exceptions instead of rendering exception templates.
config.action_dispatch.show_exceptions = false
# Disable request forgery protection in test environment.
config.action_controller.allow_forgery_protection = false