Ensure array order for repeatable success of tests
This commit is contained in:
parent
277815ec96
commit
33260d885d
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user