spec/models/person.rb in mongoid-encryptor-0.0.4 vs spec/models/person.rb in mongoid-encryptor-0.0.5

- old
+ new

@@ -2,9 +2,10 @@ include Mongoid::Document field :first_name field :last_name - embeds_one :credit_card + embeds_one :credential + embeds_many :credit_cards validates_presence_of :first_name, :last_name end