Skip to content

Commit 5d075f6

Browse files
committed
Fix flaky test
1 parent 6a999b0 commit 5d075f6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

test/models/material_test.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ class MaterialTest < ActiveSupport::TestCase
214214
material.reload
215215

216216
assert_equal [], material.contributors.to_a
217-
assert_equal [person1, person2], material.authors.to_a
217+
assert_equal [person1, person2], material.authors.order(:name).to_a
218218
end
219219

220220
test 'should handle single name in legacy author string' do

0 commit comments

Comments
 (0)