Rails4: replace deprecated find_all_by_* at IssuesControllerTest

git-svn-id: http://svn.redmine.org/redmine/trunk@12622 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Toshi MARUYAMA 2014-01-11 07:22:39 +00:00
parent ca4ea40888
commit 20482fdee3
1 changed files with 1 additions and 1 deletions

View File

@ -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