Add notification for piece justificative
This commit is contained in:
parent
6ed91073c4
commit
e5768b6798
4 changed files with 20 additions and 4 deletions
|
@ -299,6 +299,10 @@ shared_examples 'description_controller_spec' do
|
|||
sign_in guest
|
||||
end
|
||||
|
||||
it 'Notification interne is create' do
|
||||
expect { subject }.to change(Notification, :count).by (1)
|
||||
end
|
||||
|
||||
context 'when PJ have no documents' do
|
||||
it { expect(dossier.pieces_justificatives.size).to eq 0 }
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue