Add on information entreprise :
- SIRET Siège social - Code naf - Code effectif - Numéro TVA intracommunautaire - Exercices
This commit is contained in:
parent
803ca14f72
commit
dd8bafab49
18 changed files with 233 additions and 21 deletions
|
@ -19,5 +19,6 @@ describe Etablissement do
|
|||
describe 'associations' do
|
||||
it { is_expected.to belong_to(:dossier) }
|
||||
it { is_expected.to belong_to(:entreprise) }
|
||||
it { is_expected.to have_many(:exercices) }
|
||||
end
|
||||
end
|
||||
|
|
13
spec/models/exercice_spec.rb
Normal file
13
spec/models/exercice_spec.rb
Normal file
|
@ -0,0 +1,13 @@
|
|||
require 'spec_helper'
|
||||
|
||||
describe Exercice do
|
||||
describe 'database columns' do
|
||||
it { is_expected.to have_db_column(:ca) }
|
||||
it { is_expected.to have_db_column(:dateFinExercice) }
|
||||
it { is_expected.to have_db_column(:date_fin_exercice_timestamp) }
|
||||
end
|
||||
|
||||
describe 'associations' do
|
||||
it { is_expected.to belong_to(:etablissement) }
|
||||
end
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue