mirror of
https://github.com/discourse/discourse.git
synced 2025-06-04 20:04:42 +08:00
introduce Enum
This commit is contained in:
@ -16,7 +16,7 @@ describe "i18n integrity checks" do
|
||||
end
|
||||
|
||||
it "needs an i18n key (notification_types) for each Notification type" do
|
||||
Notification.Types.keys.each do |type|
|
||||
Notification.types.keys.each do |type|
|
||||
I18n.t("notification_types.#{type}").should_not =~ /translation missing/
|
||||
end
|
||||
end
|
||||
|
Reference in New Issue
Block a user