From ffc31a8eb46185186d55a9244679d8bd58b4ef19 Mon Sep 17 00:00:00 2001 From: Jake Goulding Date: Tue, 8 Jul 2014 13:46:37 -0700 Subject: [PATCH] Update visit's documentation to indicate that it requires something that can become a string --- lib/capybara/session.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/capybara/session.rb b/lib/capybara/session.rb index 718aa3f1..e452f07e 100644 --- a/lib/capybara/session.rb +++ b/lib/capybara/session.rb @@ -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!