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

- old
+ new

@@ -2,10 +2,11 @@ include Mongoid::Document include Mongoid::Encryptor field :email field :password + field :options validates_presence_of :email, :password - encrypts :password, :mode => :sha, + encrypts :password, :mode => :sha end