The test was passing because it was using the rack driver, but on real browsers it wasn't generating the expected URL.