refactor messagerie_instructeur_avis_url
This commit is contained in:
parent
83fba55b29
commit
b0cfb2c02a
3 changed files with 3 additions and 3 deletions
|
@ -105,7 +105,7 @@ describe Instructeurs::AvisController, type: :controller do
|
|||
it do
|
||||
subject
|
||||
|
||||
expect(response).to redirect_to(messagerie_instructeur_avis_path(avis_without_answer))
|
||||
expect(response).to redirect_to(messagerie_instructeur_avis_path(avis_without_answer.procedure, avis_without_answer))
|
||||
expect(dossier.commentaires.map(&:body)).to match(['commentaire body'])
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue