spec/app/models/pet.rb in mongoid-7.0.13 vs spec/app/models/pet.rb in mongoid-7.1.0.rc0

- old
+ new

@@ -1,4 +1,7 @@ +# frozen_string_literal: true +# encoding: utf-8 + class Pet include Mongoid::Document field :name field :weight, type: Float, default: 0.0 embeds_many :vet_visits