Skip to content

Instantly share code, notes, and snippets.

@zealoushacker
Created July 13, 2011 17:14
Show Gist options
  • Save zealoushacker/1080776 to your computer and use it in GitHub Desktop.
Save zealoushacker/1080776 to your computer and use it in GitHub Desktop.
Table values matcher
Then /^table "([^"]*)" should have the values:$/ do |table_id, table|
table.hashes.each do |row|
Then %{row #{row[:row]} column #{row[:col]} of table "#{table_id}" should be "#{row[:value]}"}
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment