fix(spec): broken spec due to TDD and refacto on former code

This commit is contained in:
Martin 2022-07-21 20:05:05 +02:00 committed by mfo
parent 711b2ee2e4
commit dc524cf615
7 changed files with 8 additions and 9 deletions

View file

@ -7,7 +7,7 @@
.container
%h1.mb-2
Archives
- # index not renderable as administrateur flagged as manager, so render it anyway
-# index not renderable as administrateur flagged as manager, so render it anyway
= render Dossiers::ExportComponent.new(procedure: @procedure, exports: @exports, export_url: method(:download_admin_procedure_exports_path))
= render partial: "shared/archives/notice"

View file

@ -1,4 +1,4 @@
- # not renderable as administrateur flagged as manager, so render it anyway
-# not renderable as administrateur flagged as manager, so render it anyway
- if @can_download_dossiers
= turbo_stream.update_all '.procedure-actions' do
= render Dossiers::ExportComponent.new(procedure: @procedure, exports: @exports, count: @dossiers_count, export_url: method(:admin_procedure_exports_path))