]> source.dussan.org Git - redmine.git/commitdiff
Adds an assertion for this (#23180).
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Wed, 29 Jun 2016 15:33:07 +0000 (15:33 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Wed, 29 Jun 2016 15:33:07 +0000 (15:33 +0000)
git-svn-id: http://svn.redmine.org/redmine/trunk@15588 e93f8b46-1217-0410-a6f0-8f06a7374b81

test/unit/mailer_test.rb

index f875d3cbdd756c5b2f84b1537de4e1fb884a1792..8f9763288f1d787623c5b11acf3b3520151270c1 100644 (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',