feat(routing): use only department codes in routing rules
This commit is contained in:
parent
4e6788919f
commit
ca25788f07
6 changed files with 22 additions and 21 deletions
|
@ -74,7 +74,7 @@ describe RoutingEngine, type: :model do
|
|||
|
||||
context 'with a matching rule' do
|
||||
before do
|
||||
gi_2.update(routing_rule: ds_eq(champ_value(departements_tdc.stable_id), constant('43 – Haute-Loire')))
|
||||
gi_2.update(routing_rule: ds_eq(champ_value(departements_tdc.stable_id), constant('43')))
|
||||
dossier.champs.first.update(value: 'Haute-Loire')
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue