dossiers: refresh the whole header actions bar on status change
This ensure the other state-dependant buttons get updated to–like the "Follow" or "Archive" button. Fix #4186
This commit is contained in:
parent
3a37c1eeae
commit
79784089a4
3 changed files with 11 additions and 10 deletions
|
@ -67,6 +67,7 @@ feature 'The instructeur part' do
|
|||
end
|
||||
|
||||
expect(page).to have_text('Dossier traité avec succès.')
|
||||
expect(page).to have_link('Archiver le dossier')
|
||||
|
||||
dossier.reload
|
||||
expect(dossier.state).to eq(Dossier.states.fetch(:accepte))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue