Commit 33260d88 authored by Holger Just's avatar Holger Just

Ensure array order for repeatable success of tests

parent 277815ec
......@@ -82,7 +82,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_by(&:id), Project.new(:tracker_ids => [1, 3]).trackers.sort_by(&:id)
end
def test_update
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment