@@ -45,6 +45,10 class MailerTest < ActiveSupport::TestCase | |||||
45 | assert_not_nil mail |
|
45 | assert_not_nil mail | |
46 |
|
46 | |||
47 | assert_select_email do |
|
47 | assert_select_email do | |
|
48 | # link to the main ticket on issue id | |||
|
49 | assert_select 'a[href=?]', | |||
|
50 | 'https://mydomain.foo/issues/2#change-3', | |||
|
51 | :text => '#2' | |||
48 | # link to the main ticket |
|
52 | # link to the main ticket | |
49 | assert_select 'a[href=?]', |
|
53 | assert_select 'a[href=?]', | |
50 | 'https://mydomain.foo/issues/2#change-3', |
|
54 | 'https://mydomain.foo/issues/2#change-3', |
General Comments 0
You need to be logged in to leave comments.
Login now