Add notification for piece justificative

This commit is contained in:
Xavier J 2016-12-26 11:42:02 +01:00
parent 6ed91073c4
commit e5768b6798
4 changed files with 20 additions and 4 deletions

View file

@ -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 }