Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Ensure array order for repeatable success of tests

  • Loading branch information...
commit 33260d885d409fec47661fb4be0eccc8c77d0c4a 1 parent 277815e
@meineerde meineerde authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  test/unit/project_test.rb
View
2  test/unit/project_test.rb
@@ -82,7 +82,7 @@ def test_default_attributes
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
Please sign in to comment.
Something went wrong with that request. Please try again.