move validations concern to filtered_column
Co-authored-by: mfo <mfo@users.noreply.github.com>
This commit is contained in:
parent
6b5efbda07
commit
b2754cd26c
9 changed files with 100 additions and 43 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue