demarches-normaliennes/spec/models/individual_spec.rb

9 lines
286 B
Ruby

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) }
it { is_expected.to belong_to(:dossier) }
end