From ad12db3fb34efd6b3284b148f76e26f545ea0007 Mon Sep 17 00:00:00 2001 From: Sam Date: Mon, 15 Jun 2015 16:34:35 +1000 Subject: [PATCH] correct invalid spec --- spec/integrity/i18n_spec.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/spec/integrity/i18n_spec.rb b/spec/integrity/i18n_spec.rb index dcf52c34d82..2525668f542 100644 --- a/spec/integrity/i18n_spec.rb +++ b/spec/integrity/i18n_spec.rb @@ -17,6 +17,7 @@ describe "i18n integrity checks" do it "needs an i18n key (notification_types) for each Notification type" do Notification.types.each_key do |type| + next if type == :custom expect(I18n.t("notification_types.#{type}")).not_to match(/translation missing/) end end