return bilan bdf csv for expert

This commit is contained in:
Christophe Robillard 2020-05-11 12:55:59 +02:00
parent cad8245540
commit aab4bb81ee
4 changed files with 19 additions and 1 deletions

View file

@ -50,6 +50,12 @@ describe Instructeurs::AvisController, type: :controller do
it { expect(assigns(:dossier)).to eq(dossier) }
end
describe '#bilans_bdf' do
before { get :bilans_bdf, params: { id: avis_without_answer.id } }
it { expect(response).to redirect_to(instructeur_avis_path(avis_without_answer)) }
end
describe '#update' do
describe 'without attachment' do
before do