introduce Enum

This commit is contained in:
Gosha Arinich
2013-03-01 15:07:44 +03:00
parent 0c8c41b131
commit 0c99dea153
45 changed files with 242 additions and 216 deletions

View File

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