Rails 4.2 URI::InvalidURIError


I was getting this error in my integration tests, and Google failed to
shine a light.

URI::InvalidURIError: the scheme http does not accept registry part:
www.example.com:80reset_password (or bad hostname?)

Eventually I realised a couple of my get and post commandss were missing
the slash from the start of the URL (and Rails 4.1 had no problem with

get “signup”

Should be

get “/signup”

Hopefully this will save someone some head-scratching.