mirror of
https://github.com/discourse/discourse.git
synced 2024-11-23 01:47:22 +08: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…
Reference in New Issue
Block a user