spec/models/data_grid_spec.rb in marty-2.7.2 vs spec/models/data_grid_spec.rb in marty-2.7.3

- old
+ new

@@ -576,9 +576,14 @@ expect(g1_res).to eq [11, 'G1'] res = lookup_grid_helper('infinity', 'G8', h, true) expect(g1_res).to eq res + + # make sure lookup_grid_h works too + res_h = Marty::DataGrid.lookup_grid_h('infinity', 'G8', h, true) + + expect(g1_res[0]).to eq res_h end it 'should handle DataGrid typed data grids' do g1 = Marty::DataGrid.find_by(obsoleted_dt: 'infinity', name: 'G1')