From a673d1f553081f199ae7eb829ae769f364f0ea6a Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Sat, 10 Jan 2015 21:12:42 +0000 Subject: [PATCH] Merged r13860 (#18782). git-svn-id: http://svn.redmine.org/redmine/branches/2.6-stable@13868 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- test/ui/issues_test.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/ui/issues_test.rb b/test/ui/issues_test.rb index b78b88597..f45f0990c 100644 --- a/test/ui/issues_test.rb +++ b/test/ui/issues_test.rb @@ -60,13 +60,13 @@ class Redmine::UiTest::IssuesTest < Redmine::UiTest::Base :field_format => 'string', :name => 'Field1', :is_for_all => true, - :trackers => Tracker.find_all_by_id([1, 2]) + :trackers => Tracker.where(:id => [1, 2]) ) field2 = IssueCustomField.create!( :field_format => 'string', :name => 'Field2', :is_for_all => true, - :trackers => Tracker.find_all_by_id(2) + :trackers => Tracker.where(:id => 2) ) Role.non_member.add_permission! :add_issues @@ -188,7 +188,7 @@ class Redmine::UiTest::IssuesTest < Redmine::UiTest::Base :field_format => 'string', :name => 'Form update CF', :is_for_all => true, - :trackers => Tracker.find_all_by_name('Feature request') + :trackers => Tracker.where(:name => 'Feature request') ) Role.non_member.add_permission! :edit_issues -- 2.39.5