spec/mongoid/geospatial/geospatial_spec.rb in mongoid-geospatial-5.0.0 vs spec/mongoid/geospatial/geospatial_spec.rb in mongoid-geospatial-5.1.0

- old
+ new

@@ -70,10 +70,10 @@ context ':paginate' do before do Alarm.create_indexes 50.times do - Alarm.create(spot: [rand(10) + 1, rand(10) + 1]) + Alarm.create(spot: [rand(1..10), rand(1..10)]) end end it 'limits fine with 25' do expect(Alarm.near_sphere(spot: [5, 5])