t/domain_path.ru in regurgitator-0.1.0 vs t/domain_path.ru in regurgitator-0.2.0

- old
+ new

@@ -1,5 +1,8 @@ require 'regurgitator' use Rack::ContentLength use Rack::ContentType, 'text/plain' -db = Sequel.connect(ENV['TEST_SEQUEL']) -run Regurgitator::DomainPath.new(lambda { |env| [ 404, [], [] ] }, db) +o = { + :db => Sequel.connect(ENV['TEST_SEQUEL']), + :reproxy_key => "HTTP_X_REPROXY_PATH", +} +run Regurgitator::DomainPath.new(lambda { |env| [ 404, [], [] ] }, o)