lib/tap/mechanize/test/echo_server.rb in tap-mechanize-0.5.1 vs lib/tap/mechanize/test/echo_server.rb in tap-mechanize-0.6.0

- old
+ new

@@ -8,10 +8,10 @@ # class EchoServer def self.call(env) body = env['rack.input'].read headers = {} - env.each_pair {|key, value| headers[key] = [value] unless key =~ /^rack/ } + env.each_pair {|key, value| headers[key] = value unless key =~ /^rack/ } [200, headers, [body]] end end end \ No newline at end of file