From ed23149a6c1849e52c5e085a42321295d639fa55 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Wed, 20 Jul 2011 19:01:13 +0000 Subject: [PATCH] Fixes assertions (#8836). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6302 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- test/unit/issue_test.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/unit/issue_test.rb b/test/unit/issue_test.rb index b19ddaa85..cf759b43d 100644 --- a/test/unit/issue_test.rb +++ b/test/unit/issue_test.rb @@ -293,10 +293,10 @@ class IssueTest < ActiveSupport::TestCase assert_equal [1, 2], issue.new_statuses_allowed_to(user).map(&:id) issue = Issue.generate!(:tracker => tracker, :status => status, :project_id => 1, :author => user) - assert_equal [1, 2, 3], issue.new_statuses_allowed_to(user).map(&:id) + assert_equal [1, 2, 3, 5], issue.new_statuses_allowed_to(user).map(&:id) issue = Issue.generate!(:tracker => tracker, :status => status, :project_id => 1, :assigned_to => user) - assert_equal [1, 2, 4], issue.new_statuses_allowed_to(user).map(&:id) + assert_equal [1, 2, 4, 5], issue.new_statuses_allowed_to(user).map(&:id) issue = Issue.generate!(:tracker => tracker, :status => status, :project_id => 1, :author => user, :assigned_to => user) assert_equal [1, 2, 3, 4, 5], issue.new_statuses_allowed_to(user).map(&:id)