FIX: Email template for "Queued Posts Reminder" was not found

This commit is contained in:
Gerhard Schlager
2018-07-24 17:26:11 +02:00
parent 236243f38a
commit 1ac643d71c
2 changed files with 6 additions and 1 deletions

View File

@ -303,4 +303,9 @@ RSpec.describe Admin::EmailTemplatesController do
end
it "uses only existing email templates" do
Admin::EmailTemplatesController.email_keys.each do |key|
expect(I18n.t(key)).to_not include('translation missing')
end
end
end