From: Toshi MARUYAMA Date: Mon, 27 Jan 2014 00:08:15 +0000 (+0000) Subject: remove unneeded Relation#all from IssueTest X-Git-Tag: 2.5.0~190 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=c47940f4a56e2d661b166ef316990d5e6af58a68;p=redmine.git remove unneeded Relation#all from IssueTest git-svn-id: http://svn.redmine.org/redmine/trunk@12710 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- diff --git a/test/unit/issue_test.rb b/test/unit/issue_test.rb index 8f4f32b62..e808d519e 100644 --- a/test/unit/issue_test.rb +++ b/test/unit/issue_test.rb @@ -581,7 +581,7 @@ class IssueTest < ActiveSupport::TestCase assert !admin.member_of?(issue.project) expected_statuses = [issue.status] + 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) end