move validations concern to filtered_column

Co-authored-by: mfo <mfo@users.noreply.github.com>
This commit is contained in:
simon lehericey 2024-10-07 09:54:17 +02:00
parent 6b5efbda07
commit b2754cd26c
No known key found for this signature in database
GPG key ID: CDE670D827C7B3C5
9 changed files with 100 additions and 43 deletions

View file

@ -906,7 +906,7 @@ describe Instructeurs::ProceduresController, type: :controller do
subject do
column = procedure.find_column(label: "Nom")
post :add_filter, params: { procedure_id: procedure.id, a_suivre_filters: { id: column.id, filter: "n" * 110 } }
post :add_filter, params: { procedure_id: procedure.id, a_suivre_filters: [{ id: column.id, filter: "n" * 4049 }] }
end
it 'should render the error' do