remove unneeded Relation#all from IssueTest
git-svn-id: http://svn.redmine.org/redmine/trunk@12710 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
9941a987e9
commit
c47940f4a5
|
@ -581,7 +581,7 @@ class IssueTest < ActiveSupport::TestCase
|
||||||
assert !admin.member_of?(issue.project)
|
assert !admin.member_of?(issue.project)
|
||||||
expected_statuses = [issue.status] +
|
expected_statuses = [issue.status] +
|
||||||
WorkflowTransition.where(:old_status_id => issue.status_id).
|
WorkflowTransition.where(:old_status_id => issue.status_id).
|
||||||
all.map(&:new_status).uniq.sort
|
map(&:new_status).uniq.sort
|
||||||
assert_equal expected_statuses, issue.new_statuses_allowed_to(admin)
|
assert_equal expected_statuses, issue.new_statuses_allowed_to(admin)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue