diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2015-01-10 10:20:50 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2015-01-10 10:20:50 +0000 |
commit | b236be138d0c8a7c59882a180d3c6ce70ebaac8c (patch) | |
tree | 8acb869e6d250c438f576e3b6605f7c0f9809181 /test/ui/issues_test.rb | |
parent | a4499274a2f946b734caf7bd6f68b66125556683 (diff) | |
download | redmine-b236be138d0c8a7c59882a180d3c6ce70ebaac8c.tar.gz redmine-b236be138d0c8a7c59882a180d3c6ce70ebaac8c.zip |
Fixed errors in UI tests (#18782).
git-svn-id: http://svn.redmine.org/redmine/trunk@13860 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/ui/issues_test.rb')
-rw-r--r-- | test/ui/issues_test.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/ui/issues_test.rb b/test/ui/issues_test.rb index 5225e2f29..be9a52f38 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 |