summaryrefslogtreecommitdiffstats
path: root/test/unit/user_test.rb
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2018-06-23 05:13:29 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2018-06-23 05:13:29 +0000
commitce1c65225037622c10568b3e6955cecce7e80fd9 (patch)
tree86e19714cda5281053cb496b610564dde3841c45 /test/unit/user_test.rb
parent157a291b6691dc5d694c84db0548b93b8561ab74 (diff)
downloadredmine-ce1c65225037622c10568b3e6955cecce7e80fd9.tar.gz
redmine-ce1c65225037622c10568b3e6955cecce7e80fd9.zip
Upgrade to Rails 5.2.0 (#23630).
git-svn-id: http://svn.redmine.org/redmine/trunk@17410 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/unit/user_test.rb')
-rw-r--r--test/unit/user_test.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/unit/user_test.rb b/test/unit/user_test.rb
index f9678c749..95198c148 100644
--- a/test/unit/user_test.rb
+++ b/test/unit/user_test.rb
@@ -1198,6 +1198,10 @@ class UserTest < ActiveSupport::TestCase
assert new_assignee.notify_about?(issue)
issue.save!
+ assert assignee.notify_about?(issue)
+ assert new_assignee.notify_about?(issue)
+
+ issue.save!
assert !assignee.notify_about?(issue)
assert new_assignee.notify_about?(issue)
end