cucumber/cucumber — pull request #212 by laserlemon (2012-01-12 17:24:29+00:00)
Title: Diff tables with misplaced columns

With an optional `:misplaced_col` option to the `Cucumber::Ast::Table#diff!` method, one can ensure that column headings between the two tables are in the same order.

This is useful in a Cucumber step where you'd like to assert the exact contents of an HTML table, including structure. I ran into this in a JavaScript scenario where I test drag-and-drop column reordering.

The new option defaults to `false` so it should not break backwards compatibility.