From: Jean-Philippe Lang Date: Tue, 28 Feb 2012 05:25:26 +0000 (+0000) Subject: Fixed potential test failure. X-Git-Tag: 1.4.0~289 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=c7e81dfa9b35e23e5740f53e26cbcd6feb716138;p=redmine.git Fixed potential test failure. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9025 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- diff --git a/test/unit/project_test.rb b/test/unit/project_test.rb index cc89696a1..1e5c89900 100644 --- a/test/unit/project_test.rb +++ b/test/unit/project_test.rb @@ -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