summaryrefslogtreecommitdiffstats
path: root/test/unit/mailer_test.rb
diff options
context:
space:
mode:
authorGo MAEDA <maeda@farend.jp>2019-03-03 22:31:53 +0000
committerGo MAEDA <maeda@farend.jp>2019-03-03 22:31:53 +0000
commit0f39eec9e0fa3c3a9d3cdf3a5465a4eeede2f2aa (patch)
treea4021a2fdd90188d20f262e92d204ee2969260aa /test/unit/mailer_test.rb
parent193b02567b1d889324d8709547b135e14f80d837 (diff)
downloadredmine-0f39eec9e0fa3c3a9d3cdf3a5465a4eeede2f2aa.tar.gz
redmine-0f39eec9e0fa3c3a9d3cdf3a5465a4eeede2f2aa.zip
"View all issues" link in email reminders points to issues list which does not include issues assigned to a group (#30955).
Patch by Go MAEDA. git-svn-id: http://svn.redmine.org/redmine/trunk@17918 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/unit/mailer_test.rb')
-rw-r--r--test/unit/mailer_test.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/unit/mailer_test.rb b/test/unit/mailer_test.rb
index f2deedab5..3980aab93 100644
--- a/test/unit/mailer_test.rb
+++ b/test/unit/mailer_test.rb
@@ -604,6 +604,11 @@ class MailerTest < ActiveSupport::TestCase
mail = last_email
assert mail.bcc.include?('dlopper@somenet.foo')
assert_mail_body_match 'Bug #3: Error 281 when updating a recipe', mail
+ assert_select_email do
+ assert_select 'a[href=?]',
+ 'http://localhost:3000/issues?assigned_to_id=me&set_filter=1&sort=due_date%3Aasc',
+ :text => 'View all issues'
+ end
assert_equal '1 issue(s) due in the next 42 days', mail.subject
end