Add RNAInformation model
This commit is contained in:
parent
704e491cd0
commit
05298f7a40
6 changed files with 46 additions and 1 deletions
16
spec/models/rna_information_spec.rb
Normal file
16
spec/models/rna_information_spec.rb
Normal file
|
@ -0,0 +1,16 @@
|
|||
require 'spec_helper'
|
||||
|
||||
describe RNAInformation do
|
||||
describe 'databse columns' do
|
||||
it { is_expected.to have_db_column(:association_id) }
|
||||
it { is_expected.to have_db_column(:titre) }
|
||||
it { is_expected.to have_db_column(:objet) }
|
||||
it { is_expected.to have_db_column(:date_creation) }
|
||||
it { is_expected.to have_db_column(:date_publication) }
|
||||
it { is_expected.to have_db_column(:date_declaration) }
|
||||
end
|
||||
|
||||
describe 'associations' do
|
||||
it { is_expected.to belong_to(:entreprise) }
|
||||
end
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue