demarches-normaliennes/spec/models/individual_spec.rb

9 lines
238 B
Ruby
Raw Normal View History

2016-08-30 11:18:43 +02:00
require 'spec_helper'
describe Individual do
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