Merge pull request #11050 from demarches-simplifiees/fix-9513-part-1

(1/X) ETQ administrateur, je veux pouvoir modifier le lien URL de ma démarche sans avoir à la cloturer
This commit is contained in:
Mathieu Magnin 2024-11-26 08:58:48 +00:00 committed by GitHub
commit 460bd48d08
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 49 additions and 39 deletions

View file

@ -1364,7 +1364,7 @@ describe Procedure do
describe 'suggested_path' do
let(:procedure) { create(:procedure, aasm_state: :publiee, libelle: 'Inscription au Collège', zones: [create(:zone)]) }
subject { procedure.suggested_path(procedure.administrateurs.first) }
subject { procedure.suggested_path }
context 'when the path has been customized' do
before { procedure.path = 'custom_path' }