add test to commentaire

This commit is contained in:
Tanguy PATTE 2015-08-17 11:43:01 +02:00
parent 3a92e727ed
commit db79bd9c3d

View file

@ -0,0 +1,9 @@
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) }
end