spec/support/models/contractor.rb in mongoid-8.1.7 vs spec/support/models/contractor.rb in mongoid-9.0.0
- old
+ new
@@ -1,5 +1,6 @@
# frozen_string_literal: true
+# rubocop:todo all
class Contractor
include Mongoid::Document
embedded_in :building
field :name, type: String