correct invalid spec
This commit is contained in:
parent
05d343a921
commit
ad12db3fb3
1 changed files with 1 additions and 0 deletions
|
@ -17,6 +17,7 @@ describe "i18n integrity checks" do
|
||||||
|
|
||||||
it "needs an i18n key (notification_types) for each Notification type" do
|
it "needs an i18n key (notification_types) for each Notification type" do
|
||||||
Notification.types.each_key do |type|
|
Notification.types.each_key do |type|
|
||||||
|
next if type == :custom
|
||||||
expect(I18n.t("notification_types.#{type}")).not_to match(/translation missing/)
|
expect(I18n.t("notification_types.#{type}")).not_to match(/translation missing/)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Reference in a new issue