fixes specs

This commit is contained in:
rgarcia
2015-09-06 11:15:24 +02:00
parent 189f94f1d6
commit cbd4e30e80

View File

@@ -19,7 +19,7 @@ class Verification::Residence
self.date_of_birth = parse_date('date_of_birth', attrs)
attrs = remove_date('date_of_birth', attrs)
super
self.document_number.upcase!
self.document_number.upcase! unless self.document_number.blank?
end
def save