Showing 1 of 1 files from the diff.

@@ -865,9 +865,9 @@
Loading
865 865
          end
866 866
867 867
          specify ' orders objects by distance from passed object' do
868 -
            expect(GeographicItem.ordered_by_shortest_distance_from('multi_polygon', p3)
869 -
                     .limit(3).to_a)
870 -
              .to eq([new_box_e, new_box_b, new_box_a])
868 +
            subject = GeographicItem.ordered_by_shortest_distance_from('multi_polygon', p3).limit(3).to_a
869 +
            expect(subject[0..1]).to contain_exactly(new_box_e, new_box_b) # Both boxes are at same distance from p3
870 +
            expect(subject[2..]).to eq([new_box_a])
871 871
          end
872 872
873 873
          specify ' orders objects by distance from passed object' do
Files Coverage
app 76.74%
config 98.85%
lib 83.33%
spec 99.00%
Project Totals (1785 files) 88.74%
483793503
483793503
483793503
483793503
484174378
484174378
484174378
484174378

No yaml found.

Create your codecov.yml to customize your Codecov experience

Sunburst
The inner-most circle is the entire project, moving away from the center are folders then, finally, a single file. The size and color of each slice is representing the number of statements and the coverage, respectively.
Icicle
The top section represents the entire project. Proceeding with folders and finally individual files. The size and color of each slice is representing the number of statements and the coverage, respectively.
Grid
Each block represents a single file in the project. The size and color of each block is represented by the number of statements and the coverage, respectively.
Loading