From 63fcb40f6cc5569cf08e50214a0b2c4c9d041c8e Mon Sep 17 00:00:00 2001 From: Andy Brett Date: Tue, 29 Jun 2021 10:10:51 -0700 Subject: [PATCH] update config to address deprecation warning for missing translations config --- config/environments/test.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/environments/test.rb b/config/environments/test.rb index 791b4bcb2e..ecfc577d48 100644 --- a/config/environments/test.rb +++ b/config/environments/test.rb @@ -32,7 +32,7 @@ Openfoodnetwork::Application.configure do config.action_mailer.delivery_method = :test # Tests should fail when translations are missing. - config.action_view.raise_on_missing_translations = true + config.i18n.raise_on_missing_translations = true config.time_zone = ENV.fetch("TIMEZONE", "UTC")