diff options
author | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2014-01-11 08:32:12 +0000 |
---|---|---|
committer | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2014-01-11 08:32:12 +0000 |
commit | 8c595df5954cde98a4481f2585838be26da2b899 (patch) | |
tree | 2f43de3e93458761170ea4eef82d721b9218a464 /test | |
parent | 65ba233c620ad18d3f8d1cbcc3e08b8af7eb9538 (diff) | |
download | redmine-8c595df5954cde98a4481f2585838be26da2b899.tar.gz redmine-8c595df5954cde98a4481f2585838be26da2b899.zip |
Rails4: replace deprecated find_all_by_* at IssuesControllerTest
git-svn-id: http://svn.redmine.org/redmine/trunk@12627 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test')
-rw-r--r-- | test/functional/issues_controller_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functional/issues_controller_test.rb b/test/functional/issues_controller_test.rb index f70c5a3c0..89d47f456 100644 --- a/test/functional/issues_controller_test.rb +++ b/test/functional/issues_controller_test.rb @@ -3371,7 +3371,7 @@ class IssuesControllerTest < ActionController::TestCase assert_response 302 # check that the issues were updated - assert_equal [7, 7], Issue.find_all_by_id([1, 2]).collect {|i| i.priority.id} + assert_equal [7, 7], Issue.where(:id =>[1, 2]).collect {|i| i.priority.id} issue = Issue.find(1) journal = issue.journals.reorder('created_on DESC').first |