summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2014-01-27 00:08:15 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2014-01-27 00:08:15 +0000
commitc47940f4a56e2d661b166ef316990d5e6af58a68 (patch)
tree45bc0a9b6896b4b142eac70222343ce03302e6fc /test
parent9941a987e92041378d204d41a8d1926d30347db5 (diff)
downloadredmine-c47940f4a56e2d661b166ef316990d5e6af58a68.tar.gz
redmine-c47940f4a56e2d661b166ef316990d5e6af58a68.zip
remove unneeded Relation#all from IssueTest
git-svn-id: http://svn.redmine.org/redmine/trunk@12710 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test')
-rw-r--r--test/unit/issue_test.rb2
1 files changed, 1 insertions, 1 deletions
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