diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2018-06-23 05:13:29 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2018-06-23 05:13:29 +0000 |
commit | ce1c65225037622c10568b3e6955cecce7e80fd9 (patch) | |
tree | 86e19714cda5281053cb496b610564dde3841c45 /test/unit/user_test.rb | |
parent | 157a291b6691dc5d694c84db0548b93b8561ab74 (diff) | |
download | redmine-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.rb | 4 |
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 |