Fix missing translation error

This commit is contained in:
Maciej Szlosarczyk 2018-04-11 09:39:24 +03:00
parent f7c2b25a66
commit 18ad5e8e5e
No known key found for this signature in database
GPG key ID: 41D62D42D3B0D765
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