Drop old export service

This commit is contained in:
Paul Chavard 2019-06-25 15:46:10 +02:00
parent 36ffde35a2
commit 0c6705f7fd
9 changed files with 363 additions and 916 deletions

View file

@ -426,7 +426,7 @@ describe Instructeurs::ProceduresController, type: :controller do
context "csv" do
before do
expect_any_instance_of(Procedure).to receive(:to_csv)
.with(instructeur.dossiers.for_procedure(procedure), {})
.with(instructeur.dossiers.for_procedure(procedure))
get :download_dossiers, params: { procedure_id: procedure.id }, format: 'csv'
end