Skip to content

Commit

Permalink
fix procedure_export_service_spec
Browse files Browse the repository at this point in the history
  • Loading branch information
maatinito committed Mar 15, 2024
1 parent 19b5e29 commit 6339f33
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions spec/services/procedure_export_service_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,17 @@
when 'drop_down_list'
'simple_drop_down_list'
when 'communes'
['communes', "communes (Code insee)", "communes (Département)"]
[tdc, "#{tdc} (Code insee)", "#{tdc} (Département)"]
when 'commune_de_polynesie'
["commune_de_polynesie", "commune_de_polynesie (Archipel)", "commune_de_polynesie (Code postal)", "commune_de_polynesie (Ile)"]
[tdc, "#{tdc} (Archipel)", "#{tdc} (Code postal)", "#{tdc} (Ile)"]
when 'code_postal_de_polynesie'
["code_postal_de_polynesie", "code_postal_de_polynesie (Archipel)", "code_postal_de_polynesie (Commune)", "code_postal_de_polynesie (Ile)"]
[tdc, "#{tdc} (Archipel)", "#{tdc} (Commune)", "#{tdc} (Ile)"]
when 'departements', 'regions', 'pays'
[tdc, "#{tdc} (Code)"]
when 'epci'
[tdc, "#{tdc} (Code)", "#{tdc} (Département)"]
when 'rnf'
[tdc, "#{tdc} (Adresse)", "#{tdc} (Code insee Ville)", "#{tdc} (Département)", "#{tdc} (Nom)"]
else
tdc
end
Expand Down

0 comments on commit 6339f33

Please sign in to comment.