Commit 363e8f13 authored by Alex Kalderimis's avatar Alex Kalderimis Committed by Alex Kalderimis

Apply 1 suggestion(s) to 1 file(s)

parent 0cae7abf
...@@ -12,7 +12,7 @@ RSpec.describe RelativePositioning do ...@@ -12,7 +12,7 @@ RSpec.describe RelativePositioning do
# Increase the range size to convice yourself that this covers ALL arrangements # Increase the range size to convice yourself that this covers ALL arrangements
range = (101..104) range = (101..104)
indices = range.each_with_index.to_a.map(&:second) indices = (0..).take(range.size)
let(:start) { ((range.first + range.last) / 2.0).floor } let(:start) { ((range.first + range.last) / 2.0).floor }
......
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