mirror of
https://github.com/internetee/registry.git
synced 2025-06-10 14:44:47 +02:00
14 lines
335 B
Ruby
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
|