2016-08-30 11:18:43 +02:00
|
|
|
require 'spec_helper'
|
|
|
|
|
|
|
|
describe Individual do
|
2016-12-20 17:01:16 +01:00
|
|
|
it { is_expected.to have_db_column(:gender) }
|
2016-08-30 11:18:43 +02:00
|
|
|
it { is_expected.to have_db_column(:nom) }
|
|
|
|
it { is_expected.to have_db_column(:prenom) }
|
|
|
|
it { is_expected.to have_db_column(:birthdate) }
|
|
|
|
it { is_expected.to belong_to(:dossier) }
|
|
|
|
end
|