add test to commentaire
This commit is contained in:
parent
3a92e727ed
commit
db79bd9c3d
1 changed files with 9 additions and 0 deletions
9
spec/models/commentaire_spec.rb
Normal file
9
spec/models/commentaire_spec.rb
Normal 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
|
Loading…
Reference in a new issue