fix(spec): broken spec due to TDD and refacto on former code
This commit is contained in:
parent
711b2ee2e4
commit
dc524cf615
7 changed files with 8 additions and 9 deletions
|
@ -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"
|
||||
|
|
|
@ -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))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue