After create new procedure, admin is redirect to type de champ form
This commit is contained in:
parent
90c7e85980
commit
f92f0f46cc
2 changed files with 2 additions and 2 deletions
|
@ -82,7 +82,7 @@ describe Admin::ProceduresController, type: :controller do
|
|||
|
||||
end
|
||||
|
||||
it { expect(subject).to redirect_to(admin_procedures_path) }
|
||||
it { expect(subject).to redirect_to(admin_procedure_types_de_champ_path(procedure_id: Procedure.last.id)) }
|
||||
|
||||
it { expect(flash[:notice]).to be_present }
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue