Currently the process method in Capybara::RackTest::Browser takes an argument called path and assumes it is a string as it treats it as such by using it as an argument to URI.parse and sending it methods like start_with?.
This patch coerces the path argument with to_s.
@twalpole I thought this a more appropriate near term fix for my desired long term fix by tackling the issue at the driver level.
Make process method safer by cooercing path into a string
Change implementation as prior failed on rbx
Hmm, well both the original commit and the second commit pass on rbx locally "sometimes". It seems overall rbx just isn't stable. Neither change should cause it to crash. I can just close and revoke this pull request as I don't know what can be done to not make rbx crash.
Accepted PR #1357 - covers the same issue