diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2015-03-08 09:41:42 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2015-03-08 09:41:42 +0000 |
commit | 223ffd50d5d34a329f7b027ed8db23981b4908c5 (patch) | |
tree | 5b7c81816e08b19436a2d13826f33944bc940eac /test | |
parent | 662bd633ce0654de466cd07872c415e5c9a8561d (diff) | |
download | redmine-223ffd50d5d34a329f7b027ed8db23981b4908c5.tar.gz redmine-223ffd50d5d34a329f7b027ed8db23981b4908c5.zip |
Merged r14049 (#19197).
git-svn-id: http://svn.redmine.org/redmine/branches/2.6-stable@14057 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test')
-rw-r--r-- | test/unit/issue_test.rb | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/unit/issue_test.rb b/test/unit/issue_test.rb index 9998be283..0008a3779 100644 --- a/test/unit/issue_test.rb +++ b/test/unit/issue_test.rb @@ -2416,4 +2416,12 @@ class IssueTest < ActiveSupport::TestCase assert issue.save! assert_equal IssueStatus.find(2), issue.status_was end + + def test_assigned_to_was_with_a_group + group = Group.find(10) + + issue = Issue.generate!(:assigned_to => group) + issue.reload.assigned_to = nil + assert_equal group, issue.assigned_to_was + end end |