Commit a7116428 authored by Mayra Cabrera's avatar Mayra Cabrera

Merge branch '247120-epic-sorting-fix' into 'master'

Remove .exclusive from Epic positioning spec

See merge request gitlab-org/gitlab!41912
parents a047180f 304f7212
...@@ -22,7 +22,7 @@ RSpec.describe EpicTreeSorting do ...@@ -22,7 +22,7 @@ RSpec.describe EpicTreeSorting do
it 'moves an epic_issue' do it 'moves an epic_issue' do
epic_issue2.move_after(epic2) epic_issue2.move_after(epic2)
expect(epic_issue2.relative_position).to be_between(epic2.reload.relative_position, epic3.reload.relative_position).exclusive expect(epic_issue2.relative_position).to be_between(epic2.reload.relative_position, epic3.reload.relative_position)
expect(epic_issue3.reload.relative_position).to be > epic3.reload.relative_position expect(epic_issue3.reload.relative_position).to be > epic3.reload.relative_position
end end
end end
......
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