specs: fix rspec warning about raise_error specificity
This commit is contained in:
parent
4a08f6cf3f
commit
d9ea415d44
1 changed files with 1 additions and 1 deletions
|
@ -772,7 +772,7 @@ describe Instructeurs::DossiersController, type: :controller do
|
||||||
end
|
end
|
||||||
|
|
||||||
it 'does not delete the dossier' do
|
it 'does not delete the dossier' do
|
||||||
expect { dossier.reload }.not_to raise_error ActiveRecord::RecordNotFound
|
expect { dossier.reload }.not_to raise_error # A deleted dossier would raise an ActiveRecord::RecordNotFound
|
||||||
end
|
end
|
||||||
|
|
||||||
it 'does not add a record into deleted_dossiers table' do
|
it 'does not add a record into deleted_dossiers table' do
|
||||||
|
|
Loading…
Reference in a new issue