summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2014-01-11 07:22:39 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2014-01-11 07:22:39 +0000
commit20482fdee3e2ca57174d30a63ee7390823c99df6 (patch)
tree090df80ea689b3528a09903297ccd72206dd59f3 /test
parentca4ea40888babf40f796c33126c4b7e0e77ab520 (diff)
downloadredmine-20482fdee3e2ca57174d30a63ee7390823c99df6.tar.gz
redmine-20482fdee3e2ca57174d30a63ee7390823c99df6.zip
Rails4: replace deprecated find_all_by_* at IssuesControllerTest
git-svn-id: http://svn.redmine.org/redmine/trunk@12622 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test')
-rw-r--r--test/functional/issues_controller_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functional/issues_controller_test.rb b/test/functional/issues_controller_test.rb
index 3d10c4cb7..33d216cb9 100644
--- a/test/functional/issues_controller_test.rb
+++ b/test/functional/issues_controller_test.rb
@@ -3393,7 +3393,7 @@ class IssuesControllerTest < ActionController::TestCase
:custom_field_values => {'2' => ''}}
assert_response 302
- assert_equal [group, group], Issue.find_all_by_id([1, 2]).collect {|i| i.assigned_to}
+ assert_equal [group, group], Issue.where(:id => [1, 2]).collect {|i| i.assigned_to}
end
def test_bulk_update_on_different_projects