module Sinatra::Test

def param_string(hash)

def param_string(hash)
  hash.map { |pair| pair.map{|v|escape(v)}.join('=') }.join('&')
end