[Fix #2622] Change filters to proper JSONB

This commit is contained in:
Frederic Merizen 2018-09-20 16:18:21 +02:00
parent 1419e9b73f
commit 7d382837d9
4 changed files with 5 additions and 8 deletions

View file

@ -8,7 +8,7 @@ describe ProcedurePresentation do
{ "label" => "test2", "table" => "champs" }
],
sort: { "table" => "user","column" => "email","order" => "asc" },
filters: { "a-suivre" => [], "suivis" => [{ "label" => "label1", "table" => "table1", "column" => "column1" }] }.to_json
filters: { "a-suivre" => [], "suivis" => [{ "label" => "label1", "table" => "table1", "column" => "column1" }] }
).id
}
let (:procedure_presentation) { ProcedurePresentation.find(procedure_presentation_id) }