Use equality for asserting RouteSpecification is the same. Add environment to correct spec helper and remove the other file.