spec/mongoid/geospatial/helpers/sphere_spec.rb in mongoid-geospatial-3.9.0 vs spec/mongoid/geospatial/helpers/sphere_spec.rb in mongoid-geospatial-4.0.0

- old
+ new

@@ -1,11 +1,9 @@ require 'spec_helper' describe Mongoid::Fields do - context 'spatial' do - before do Alarm.create_indexes end it 'should created indexes' do @@ -18,9 +16,7 @@ it 'should work fine indexed' do far = Alarm.create!(name: 'Far', spot: [7, 7]) expect(far.spot).to be_instance_of(Mongoid::Geospatial::Point) end - end - end