correct invalid spec

This commit is contained in:
Sam 2015-06-15 16:34:35 +10:00
parent 05d343a921
commit ad12db3fb3

View File

@ -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