]> source.dussan.org Git - redmine.git/commitdiff
remove unneeded Relation#all from WorkflowsControllerTest#status_transitions
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Fri, 10 Jan 2014 03:54:23 +0000 (03:54 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Fri, 10 Jan 2014 03:54:23 +0000 (03:54 +0000)
git-svn-id: http://svn.redmine.org/redmine/trunk@12581 e93f8b46-1217-0410-a6f0-8f06a7374b81

test/functional/workflows_controller_test.rb

index 001cb1a4e3bc83c1b727bb7f15c0b07b07080244..1f5c9122b8bbd8b8b335382844d6d6a0164d0cf0 100644 (file)
@@ -339,7 +339,6 @@ class WorkflowsControllerTest < ActionController::TestCase
     WorkflowTransition.
       where(conditions).
       order('tracker_id, role_id, old_status_id, new_status_id').
-      all.
       collect {|w| [w.old_status, w.new_status_id]}
   end
 end