README.md in capybara_table-0.1.1 vs README.md in capybara_table-0.2.0
- old
+ new
@@ -61,10 +61,10 @@
# find a table row by its headers, even works with colspans!
# (note the extra hash at the end)
find(:table_row, {"First Name" => "Jonas", "Last Name" => "Nicklas"}, {})
# Assert on a table row with RSpec
-expect(find(:table "People")).to have_table_row("First Name" => "Jonas", "Last Name" => "Nicklas")
+expect(find(:table, "People")).to have_table_row("First Name" => "Jonas", "Last Name" => "Nicklas")
# Assert on a table row with MiniTest
within :table, "People" do
assert_selector(:table_row, {"First Name" => "Jonas", "Last Name" => "Nicklas"}, {})
end