spec/watirspec/elements/tr_spec.rb in watir-6.14.0 vs spec/watirspec/elements/tr_spec.rb in watir-6.15.0

- old
+ new

@@ -66,10 +66,10 @@ expect(table[1].cell(id: 't2_r1_c1')).to_not exist expect(table[1].cell(id: /t2_r1_c1/)).to_not exist end it 'iterates correctly through the cells of the row' do - browser.table(id: 'outer').row(index: 1).cells.each_with_index do |cell, idx| + browser.table(id: 'outer').tr(index: 1).each_with_index do |cell, idx| expect(cell.id).to eq "t1_r2_c#{idx + 1}" end end end end