mirror of
https://github.com/redmine/redmine.git
synced 2025-11-02 11:25:55 +01:00
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:
@@ -3393,7 +3393,7 @@ class IssuesControllerTest < ActionController::TestCase
|
|||||||
:custom_field_values => {'2' => ''}}
|
:custom_field_values => {'2' => ''}}
|
||||||
|
|
||||||
assert_response 302
|
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
|
end
|
||||||
|
|
||||||
def test_bulk_update_on_different_projects
|
def test_bulk_update_on_different_projects
|
||||||
|
|||||||
Reference in New Issue
Block a user