mirror of
https://github.com/discourse/discourse.git
synced 2025-02-21 03:19:10 +00:00
correct invalid spec
This commit is contained in:
parent
05d343a921
commit
ad12db3fb3
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user