Merge pull request #818 from internetee/small-fix-for-l18n

Fix missing translation error in Mail templates page
This commit is contained in:
Timo Võhmar 2018-04-11 15:50:15 +03:00 committed by GitHub
commit 9d128d0914
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 22 additions and 4 deletions

View file

@ -0,0 +1,14 @@
require 'test_helper'
class AdminAreaNewMailTemplateTest < ActionDispatch::IntegrationTest
def setup
login_as users(:admin)
end
def test_new_mail_template_does_not_throw_template_error
visit admin_mail_templates_url
click_link_or_button 'New'
assert_text "HTML body"
assert_text "New mail template"
end
end