Skip to content

Instantly share code, notes, and snippets.

@joshuaclayton
Created January 19, 2010 16:03
Show Gist options
  • Select an option

  • Save joshuaclayton/281032 to your computer and use it in GitHub Desktop.

Select an option

Save joshuaclayton/281032 to your computer and use it in GitHub Desktop.
Then /^I should see the following rows:$/ do |table|
assert_select "table" do
table.raw.each do |row|
assert_select "tr" do
row.each do |column|
assert_select "td", :text => column.to_s
end
end
end
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment