Add tests and validator for individual model.

This commit is contained in:
Xavier J 2016-12-20 17:01:16 +01:00
parent e258118825
commit 927d977541
2 changed files with 2 additions and 0 deletions

View file

@ -1,6 +1,7 @@
require 'spec_helper'
describe Individual do
it { is_expected.to have_db_column(:gender) }
it { is_expected.to have_db_column(:nom) }
it { is_expected.to have_db_column(:prenom) }
it { is_expected.to have_db_column(:birthdate) }