From: Jean-Philippe Lang Date: Tue, 28 Feb 2012 05:25:04 +0000 (+0000) Subject: Fixed potential test failure. X-Git-Tag: 1.4.0~290 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=774e5f3b5edf6fb8a7f308af35545d404b9f39a1;p=redmine.git Fixed potential test failure. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9024 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- diff --git a/test/unit/project_test.rb b/test/unit/project_test.rb index 0c45420b6..cc89696a1 100644 --- a/test/unit/project_test.rb +++ b/test/unit/project_test.rb @@ -104,7 +104,7 @@ class ProjectTest < ActiveSupport::TestCase end assert_equal Tracker.all, Project.new.trackers - assert_equal Tracker.find(1, 3), Project.new(:tracker_ids => [1, 3]).trackers + assert_equal Tracker.find(1, 3).sort, Project.new(:tracker_ids => [1, 3]).trackers.sort end def test_update