internetee-registry/test/integration/admin/mail_templates/new_test.rb
2018-06-19 19:40:35 +03:00

14 lines
335 B
Ruby

require 'test_helper'
class AdminAreaNewMailTemplateTest < ActionDispatch::IntegrationTest
setup do
sign_in 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