mirror of
https://github.com/meineerde/redmine.git
synced 2026-01-17 12:52:55 +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:
parent
690a6b7928
commit
a4e843842f
@ -45,6 +45,10 @@ class MailerTest < ActiveSupport::TestCase
|
|||||||
assert_not_nil mail
|
assert_not_nil mail
|
||||||
|
|
||||||
assert_select_email do
|
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
|
# link to the main ticket
|
||||||
assert_select 'a[href=?]',
|
assert_select 'a[href=?]',
|
||||||
'https://mydomain.foo/issues/2#change-3',
|
'https://mydomain.foo/issues/2#change-3',
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user