Skip to content

Commit

Permalink
fix SIRET renamings to Numéro TAHITI
Browse files Browse the repository at this point in the history
  • Loading branch information
maatinito committed Sep 20, 2023
1 parent f97250e commit eba5de4
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion app/views/shared/dossiers/_identite_entreprise.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@

- unless local_assigns[:short_identity]
- if etablissement.entreprise.siret_siege_social.present? && etablissement.siret != etablissement.entreprise.siret_siege_social
= render Dossiers::RowShowComponent.new(label: "Numero TAHITI du siège social") do |c|
= render Dossiers::RowShowComponent.new(label: "Numéro TAHITI du siège social") do |c|
- c.with_value do
%p
= pretty_siret(etablissement.entreprise.siret_siege_social)
Expand Down
2 changes: 1 addition & 1 deletion spec/controllers/champs/siret_controller_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@
end
end

context 'when the Numero TAHITI is valid but unknown', vcr: { cassette_name: 'pf_api_entreprise_not_found' } do
context 'when the Numéro TAHITI is valid but unknown', vcr: { cassette_name: 'pf_api_entreprise_not_found' } do
let(:siret) { '111111' }
let(:api_etablissement_status) { 404 }

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@

it 'shows both sirets' do
expect(subject).to include("123 456 789 00001")
expect(subject).to include("SIRET du siège social")
expect(subject).to include("Numéro TAHITI du siège social")
expect(subject).to include("987 654 321 00001")
end
end
Expand All @@ -82,7 +82,7 @@
let(:siret_siege_social) { nil }

it 'does not duplicate siret' do
expect(subject).not_to include("SIRET du siège social")
expect(subject).not_to include("Numéro TAHITI du siège social")
end
end
end
Expand Down

0 comments on commit eba5de4

Please sign in to comment.