Hi, I am getting error as: Tables were not identical (Cucumber::Ast::Table::Different) when using diff! in my code. I had followed same code as in the book.
Then /^the results should be:$/ do |expected_results| results = [['content']] + page.all('ol.results li').map do |li| [li.text] end expected_results.diff!(results) end
I had also refer most of the site related these issue, as using transpose before diff! method i was wasn’t success. Also, i had followed https://github.com/cucumber/cucumber/issues/220 , but got no effect on this error. Can u define me where i had made mistake?