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:04 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2012-02-28 05:25:04 +0000
commit774e5f3b5edf6fb8a7f308af35545d404b9f39a1 (patch)
tree143a0c6461f6eb68252de8b79f270ac1687bd2b4 /test/unit/project_test.rb
parente6b9ddad18fb78b7dd17e9f422c9467ec14faa74 (diff)
downloadredmine-774e5f3b5edf6fb8a7f308af35545d404b9f39a1.tar.gz
redmine-774e5f3b5edf6fb8a7f308af35545d404b9f39a1.zip
Fixed potential test failure.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9024 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 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