demarches-normaliennes/spec/models/commentaire_spec.rb

12 lines
349 B
Ruby
Raw Normal View History

2015-08-17 11:43:01 +02:00
require 'spec_helper'
describe Commentaire do
it { is_expected.to have_db_column(:email) }
it { is_expected.to have_db_column(:body) }
it { is_expected.to have_db_column(:created_at) }
it { is_expected.to have_db_column(:updated_at) }
it { is_expected.to belong_to(:dossier) }
it { is_expected.to belong_to(:piece_justificative) }
2015-08-20 17:30:17 +02:00
end