# File lib/rack/test.rb, line 168
      def follow_redirect!
        unless last_response.redirect?
          raise Error.new("Last response was not a redirect. Cannot follow_redirect!")
        end

        get(last_response["Location"], {}, { "HTTP_REFERER" => last_request.url })
      end