From: Jean-Philippe Lang Date: Wed, 29 Jun 2016 15:33:07 +0000 (+0000) Subject: Adds an assertion for this (#23180). X-Git-Tag: 3.4.0~865 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=a4e843842fd040a1ea3071cfc8303b809de80bce;p=redmine.git Adds an assertion for this (#23180). git-svn-id: http://svn.redmine.org/redmine/trunk@15588 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- diff --git a/test/unit/mailer_test.rb b/test/unit/mailer_test.rb index f875d3cbd..8f9763288 100644 --- a/test/unit/mailer_test.rb +++ b/test/unit/mailer_test.rb @@ -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',