spec/features/rule_spec.rb in marty-2.3.7 vs spec/features/rule_spec.rb in marty-2.3.8

- old
+ new

@@ -356,29 +356,32 @@ "results"=> {"bvlen"=>"base_value.length", "bv"=>"base_value"}} expect(r.first.as_json).to include(exp) - expect(xrv.col_values(:g_string, 5, 0)).to eq(["aaa", "bbb", "ccc", - "ddd", "eee"]) + expect(xrv.col_values(:g_string, 8, 0)).to eq(["aaa", "bbb", "ccc", "ddd", + "eee", "eee", "eee", "eee"]) click_column(xrv, "String list Guard") - expect(xrv.col_values(:g_string, 5, 0)).to eq(["eee", "ddd", "ccc", - "bbb", "aaa"]) + expect(xrv.col_values(:g_string, 8, 0)).to eq(["eee", "eee", "eee", "eee", + "ddd", "ccc", "bbb", "aaa"]) column_filter(xrv, "String list Guard", "eee") rc = xrv.row_count - expect(xrv.col_values(:g_string,rc,0)).to eq(["eee"]) + expect(xrv.col_values(:g_string,rc,0)).to eq(["eee", "eee", "eee", "eee"]) column_filter_toggle(xrv, "String list Guard") rc = xrv.row_count - expect(xrv.col_values(:g_string,rc,0)).to eq(["eee", "ddd", "ccc", - "bbb", "aaa"]) + expect(xrv.col_values(:g_string,rc,0)).to eq(["eee", "eee", "eee", "eee", + "ddd", "ccc", "bbb", "aaa"]) column_filter(xrv, "Grids", "Grid1") rc = xrv.row_count # netzke reports jsonb as string expect(xrv.col_values(:grids,rc,0)).to eq([%Q({"grid1":"DataGrid1"}), %Q({"grid1":"DataGrid1"})]) column_filter_toggle(xrv, "Grids") rc = xrv.row_count expect(xrv.col_values(:grids,rc,0)).to eq([%Q({"grid1":"DataGrid3"}), + %Q({"grid1":"DataGrid3"}), + %Q({"grid1":"DataGrid3"}), + %Q({"grid1":"DataGrid3"}), %Q({"grid1":"DataGrid3"}), %Q({"grid1":"DataGrid2"}), %Q({"grid1":"DataGrid1"}), %Q({"grid1":"DataGrid1"})]) press("Applications")