1
0
mirror of https://github.com/meineerde/redmine.git synced 2026-01-12 10:31:33 +00:00

Adds an assertion for this (#23180).

git-svn-id: http://svn.redmine.org/redmine/trunk@15588 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang 2016-06-29 15:33:07 +00:00
parent 690a6b7928
commit a4e843842f

View File

@ -45,6 +45,10 @@ class MailerTest < ActiveSupport::TestCase
assert_not_nil mail
assert_select_email do
# link to the main ticket on issue id
assert_select 'a[href=?]',
'https://mydomain.foo/issues/2#change-3',
:text => '#2'
# link to the main ticket
assert_select 'a[href=?]',
'https://mydomain.foo/issues/2#change-3',