summaryrefslogtreecommitdiffstats
path: root/test/functional/issues_controller_test.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/functional/issues_controller_test.rb')
-rw-r--r--test/functional/issues_controller_test.rb5
1 files changed, 4 insertions, 1 deletions
diff --git a/test/functional/issues_controller_test.rb b/test/functional/issues_controller_test.rb
index 044cc0c54..91b3efa82 100644
--- a/test/functional/issues_controller_test.rb
+++ b/test/functional/issues_controller_test.rb
@@ -43,7 +43,8 @@ class IssuesControllerTest < Redmine::ControllerTest
:journal_details,
:queries,
:repositories,
- :changesets
+ :changesets,
+ :watchers
include Redmine::I18n
@@ -5716,6 +5717,8 @@ class IssuesControllerTest < Redmine::ControllerTest
}
}
assert_response 302
+ # 4 emails for 2 members and 2 issues
+ # 1 email for a watcher of issue #2
assert_equal 5, ActionMailer::Base.deliveries.size
end
end