diff --git a/config/environments/test.rb b/config/environments/test.rb index 716bf8d31f1..edb1160eaa1 100644 --- a/config/environments/test.rb +++ b/config/environments/test.rb @@ -21,6 +21,9 @@ Rails.application.configure do config.assets_digest = false + # Raise exceptions on unpermitted parameters errors + config.action_controller.action_on_unpermitted_parameters = :raise + # Show full error reports and disable caching. config.consider_all_requests_local = true config.action_controller.perform_caching = false