spec/models/person.rb in mongoid-geospatial-4.0.1 vs spec/models/person.rb in mongoid-geospatial-5.0.0

- old
+ new

@@ -24,10 +24,11 @@ field :reading, type: Object # field :bson_id, type: bson_object_id_class field :employer_id field :security_code field :blood_alcohol_content, type: Float, default: -> { 0.0 } - field :last_drink_taken_at, type: Date, default: -> { 1.day.ago.in_time_zone('Alaska') } + field :last_drink_taken_at, type: Date, + default: -> { 1.day.ago.in_time_zone('Alaska') } # Geo field :location, type: Point index age: 1