mirror of
https://github.com/teamcapybara/capybara.git
synced 2022-11-09 12:08:07 -05:00
Update visit's documentation to indicate that it requires something that can become a string
This commit is contained in:
parent
013c76036b
commit
ffc31a8eb4
1 changed files with 1 additions and 1 deletions
|
@ -199,7 +199,7 @@ module Capybara
|
|||
#
|
||||
# Will actually navigate to `http://google.com:4567/test`.
|
||||
#
|
||||
# @param [String] url The URL to navigate to
|
||||
# @param [#to_s] url The URL to navigate to. The parameter will be cast to a String.
|
||||
#
|
||||
def visit(url)
|
||||
raise_server_error!
|
||||
|
|
Loading…
Reference in a new issue