directly write in new filter columns

This commit is contained in:
simon lehericey 2024-09-27 15:58:34 +02:00
parent d54ab64e40
commit e9c11a95f1
No known key found for this signature in database
GPG key ID: CDE670D827C7B3C5
5 changed files with 39 additions and 20 deletions

View file

@ -905,8 +905,8 @@ describe Instructeurs::ProceduresController, type: :controller do
end
subject do
column = procedure.find_column(label: "Nom").id
post :add_filter, params: { procedure_id: procedure.id, column:, value: "n" * 4100, statut: "a-suivre" }
column = procedure.find_column(label: "Nom")
post :add_filter, params: { procedure_id: procedure.id, a_suivre_filters: { id: column.id, filter: "n" * 110 } }
end
it 'should render the error' do