Merge pull request #9751 from tchak/departement-tags

feat(champs): expose more tags and api fields on rnf, address and commune
This commit is contained in:
Colin Darie 2023-12-21 08:45:01 +00:00 committed by GitHub
commit 29df9ad09d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
10 changed files with 158 additions and 36 deletions

View file

@ -77,7 +77,7 @@ describe Champs::RNFChamp, type: :model do
describe 'for_export' do
let(:champ) { build(:champ_rnf, external_id:, data: JSON.parse(body)) }
it do
expect(champ.for_export).to eq(['075-FDD-00003-01', 'Fondation SFR', '16 Rue du Général de Boissieu 75015 Paris', '75115', '75 - Paris'])
expect(champ.for_export).to eq(['075-FDD-00003-01', 'Fondation SFR', '16 Rue du Général de Boissieu 75015 Paris', '75115', '75 Paris'])
end
end
end