diff options
Diffstat (limited to 'test/unit/issue_test.rb')
-rw-r--r-- | test/unit/issue_test.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/unit/issue_test.rb b/test/unit/issue_test.rb index df242a169..a01d2e3e1 100644 --- a/test/unit/issue_test.rb +++ b/test/unit/issue_test.rb @@ -3045,14 +3045,14 @@ class IssueTest < ActiveSupport::TestCase assert_equal IssueStatus.find(3), issue.status end - def test_assigned_to_was_with_a_group + def test_previous_assignee_with_a_group group = Group.find(10) Member.create!(:project_id => 1, :principal => group, :role_ids => [1]) with_settings :issue_group_assignment => '1' do issue = Issue.generate!(:assigned_to => group) issue.reload.assigned_to = nil - assert_equal group, issue.assigned_to_was + assert_equal group, issue.previous_assignee end end |