Add Cadastre table
This commit is contained in:
parent
0f93aba6bc
commit
b5f2163c51
4 changed files with 56 additions and 1 deletions
16
spec/models/cadastre_spec.rb
Normal file
16
spec/models/cadastre_spec.rb
Normal file
|
@ -0,0 +1,16 @@
|
|||
require 'spec_helper'
|
||||
|
||||
describe Cadastre do
|
||||
it { is_expected.to have_db_column(:surface_intersection) }
|
||||
it { is_expected.to have_db_column(:surface_parcelle) }
|
||||
it { is_expected.to have_db_column(:numero) }
|
||||
it { is_expected.to have_db_column(:feuille) }
|
||||
it { is_expected.to have_db_column(:section) }
|
||||
it { is_expected.to have_db_column(:code_dep) }
|
||||
it { is_expected.to have_db_column(:nom_com) }
|
||||
it { is_expected.to have_db_column(:code_com) }
|
||||
it { is_expected.to have_db_column(:code_arr) }
|
||||
it { is_expected.to have_db_column(:geometry) }
|
||||
|
||||
it { is_expected.to belong_to(:dossier) }
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue