Skip to content

Instantly share code, notes, and snippets.

@chrislerum
Created January 13, 2011 04:15
Show Gist options
  • Save chrislerum/777374 to your computer and use it in GitHub Desktop.
Save chrislerum/777374 to your computer and use it in GitHub Desktop.
And I am on that company's page
Then I should see the issues table
| Issue |
| ENVIRONMENT |
| Sustainability Research & Development |
| Conservation & Waste Management |
| SOCIETY |
| Reporting & Disclosure |
the step def:
Then /^I should see the issues table$/ do |expected_table|
expected_table.diff!(tableish('table#company_profile tr', 'td,th'))
end
obviously, if you're not looking at an html table, you can change the tags to suit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment