refactor(type de champ): rename routable_types in simple_routable_types

This commit is contained in:
Eric Leroy-Terquem 2024-07-11 11:46:35 +02:00
parent 52d8f8ed00
commit 60ff785009
No known key found for this signature in database
GPG key ID: 53D8FAECEF207605
6 changed files with 10 additions and 10 deletions

View file

@ -1144,7 +1144,7 @@ describe ProcedureRevision do
}
end
describe '#routable_types_de_champ' do
describe '#simple_routable_types_de_champ' do
let(:procedure) do
create(:procedure, types_de_champ_public: [
{ type: :text, libelle: 'l1' },
@ -1156,6 +1156,6 @@ describe ProcedureRevision do
])
end
it { expect(draft.routable_types_de_champ.pluck(:libelle)).to eq(['l2', 'l3', 'l4', 'l5', 'l6']) }
it { expect(draft.simple_routable_types_de_champ.pluck(:libelle)).to eq(['l2', 'l3', 'l4', 'l5', 'l6']) }
end
end