Przeglądaj źródła

Adds an assertion for this (#23180).

git-svn-id: http://svn.redmine.org/redmine/trunk@15588 e93f8b46-1217-0410-a6f0-8f06a7374b81
tags/3.4.0
Jean-Philippe Lang 8 lat temu
rodzic
commit
a4e843842f
1 zmienionych plików z 4 dodań i 0 usunięć
  1. 4
    0
      test/unit/mailer_test.rb

+ 4
- 0
test/unit/mailer_test.rb Wyświetl plik

@@ -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',

Ładowanie…
Anuluj
Zapisz