]> source.dussan.org Git - redmine.git/commitdiff
Fixed potential test failure.
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Tue, 28 Feb 2012 05:25:26 +0000 (05:25 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Tue, 28 Feb 2012 05:25:26 +0000 (05:25 +0000)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9025 e93f8b46-1217-0410-a6f0-8f06a7374b81

test/unit/project_test.rb

index cc89696a18546ed5f8b9867a7dd97b9e6d34d6c8..1e5c89900e4251ea76afc60c7e081cecf500f368 100644 (file)
@@ -103,7 +103,7 @@ class ProjectTest < ActiveSupport::TestCase
       assert_equal ['issue_tracking', 'repository'], Project.new.enabled_module_names
     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
   end