Skip to content

Commit

Permalink
Fix a flaky test
Browse files Browse the repository at this point in the history
  • Loading branch information
brendon committed Nov 8, 2024
1 parent f2e2afd commit 2ea4e0b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/test_positioning.rb
Original file line number Diff line number Diff line change
Expand Up @@ -633,7 +633,7 @@ def test_that_the_default_list_scope_works
third_item = list.items.create name: "Third Item"

assert_equal [first_item, second_item, third_item],
Positioning::Mechanisms.new(second_item, :position).send(:positioning_scope)
Positioning::Mechanisms.new(second_item, :position).send(:positioning_scope).order(:position)
end

def test_that_destroyed_via_positioning_scope_does_not_call_contract
Expand Down

0 comments on commit 2ea4e0b

Please sign in to comment.