diff --git a/test/support/person.rb b/test/support/person.rb index 9533960..3cb4d57 100644 --- a/test/support/person.rb +++ b/test/support/person.rb @@ -6,6 +6,8 @@ class Person class ValidatingPerson < Person include ActiveModel::Validations + include ActiveModel::Conversion + validates :name, presence: true validates :email, presence: true validates :password, presence: true