demarches-normaliennes/spec/models/commentaire_spec.rb

10 lines
292 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) }
2015-08-20 17:30:17 +02:00
end