1
0
Fork 0
mirror of https://github.com/teamcapybara/capybara.git synced 2022-11-09 12:08:07 -05:00

Update docs according to History.md

This commit is contained in:
Andrey Botalov 2012-12-23 18:11:33 +03:00
parent b6e68c5e5e
commit 770adc2650

View file

@ -421,15 +421,9 @@ module Capybara
##
#
# Checks if the page or current node has a table with the given id
# or caption.
# or caption:
#
# If the options :rows is given, it will check that the table contains
# the rows and columns given:
#
# page.has_table?('People', :rows => [['Jonas', '24'], ['Peter', '32']])
#
# Note that this option is quite strict, the order needs to be correct
# and the text needs to match exactly.
# page.has_table?('People')
#
# @param [String] locator The id or caption of a table
# @return [Boolean] Whether it exist