improve typography and texts
Co-Authored-By: Nicolas Bouilleaud <nico@bou.io>
This commit is contained in:
parent
38b48f4217
commit
2f82dd9a3d
2 changed files with 2 additions and 2 deletions
|
@ -110,7 +110,7 @@ module Gestionnaires
|
|||
flash.notice = 'Le dossier est déjà en instruction.'
|
||||
else
|
||||
if dossier.accepte? && !administration_signed_in?
|
||||
flash.notice = 'Il n\'est pas possible de repasser un dossier accepte en instruction.'
|
||||
flash.notice = 'Il n’est pas possible de repasser un dossier accepté en instruction.'
|
||||
else
|
||||
flash.notice = "Le dossier #{dossier.id} a été repassé en instruction."
|
||||
dossier.repasser_en_instruction!(current_gestionnaire)
|
||||
|
|
|
@ -193,7 +193,7 @@ describe Gestionnaires::DossiersController, type: :controller do
|
|||
end
|
||||
context 'as superadmin' do
|
||||
let (:current_user) { administration }
|
||||
it 'it is not possible to go back to en_instruction' do
|
||||
it 'it is possible to go back to en_instruction' do
|
||||
expect(dossier.reload.state).to eq(Dossier.states.fetch(:en_instruction))
|
||||
expect(response).to have_http_status(:ok)
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue