Delete un-use code
This commit is contained in:
parent
5791206a45
commit
2fccbbf4f0
5 changed files with 10 additions and 14 deletions
|
@ -27,6 +27,8 @@ shared_examples 'description_controller_spec' do
|
|||
|
||||
it 'redirection vers start si mauvais dossier ID' do
|
||||
get :show, params: {dossier_id: bad_dossier_id}
|
||||
|
||||
expect(flash[:alert]).to be_present
|
||||
expect(response).to redirect_to(root_path)
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue