@@ -581,7 +581,7 class IssueTest < ActiveSupport::TestCase | |||
|
581 | 581 | assert !admin.member_of?(issue.project) |
|
582 | 582 | expected_statuses = [issue.status] + |
|
583 | 583 | WorkflowTransition.where(:old_status_id => issue.status_id). |
|
584 |
|
|
|
584 | map(&:new_status).uniq.sort | |
|
585 | 585 | assert_equal expected_statuses, issue.new_statuses_allowed_to(admin) |
|
586 | 586 | end |
|
587 | 587 |
General Comments 0
You need to be logged in to leave comments.
Login now