1
0
Fork 0
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:
Jake Goulding 2014-07-08 13:46:37 -07:00
parent 013c76036b
commit ffc31a8eb4

View file

@ -199,7 +199,7 @@ module Capybara
# #
# Will actually navigate to `http://google.com:4567/test`. # 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) def visit(url)
raise_server_error! raise_server_error!