summaryrefslogtreecommitdiffstats
path: root/test/unit/project_test.rb
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2012-02-28 05:25:26 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2012-02-28 05:25:26 +0000
commitc7e81dfa9b35e23e5740f53e26cbcd6feb716138 (patch)
tree910eb2c462ea10d25459e4eb53bb6439afa48cdf /test/unit/project_test.rb
parent774e5f3b5edf6fb8a7f308af35545d404b9f39a1 (diff)
downloadredmine-c7e81dfa9b35e23e5740f53e26cbcd6feb716138.tar.gz
redmine-c7e81dfa9b35e23e5740f53e26cbcd6feb716138.zip
Fixed potential test failure.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9025 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/unit/project_test.rb')
-rw-r--r--test/unit/project_test.rb2
1 files changed, 1 insertions, 1 deletions
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