Fix XPath syntax in method documentation. Closes #397

This commit is contained in:
Jo Liss 2011-06-28 01:01:46 +02:00
parent 85c018e671
commit 95d6e79f30
1 changed files with 1 additions and 1 deletions

View File

@ -15,7 +15,7 @@ module Capybara
# +find+ takes the same options as +all+.
#
# page.find('#foo').find('.bar')
# page.find(:xpath, '//div[contains("bar")]')
# page.find(:xpath, '//div[contains(., "bar")]')
# page.find('li', :text => 'Quox').click_link('Delete')
#
# @param (see Capybara::Node::Finders#all)