Fixed potential test failure.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9025 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang 2012-02-28 05:25:26 +00:00
parent 774e5f3b5e
commit c7e81dfa9b
1 changed files with 1 additions and 1 deletions

View File

@ -103,7 +103,7 @@ class ProjectTest < ActiveSupport::TestCase
assert_equal ['issue_tracking', 'repository'], Project.new.enabled_module_names assert_equal ['issue_tracking', 'repository'], Project.new.enabled_module_names
end end
assert_equal Tracker.all, Project.new.trackers assert_equal Tracker.all.sort, Project.new.trackers.sort
assert_equal Tracker.find(1, 3).sort, Project.new(:tracker_ids => [1, 3]).trackers.sort assert_equal Tracker.find(1, 3).sort, Project.new(:tracker_ids => [1, 3]).trackers.sort
end end