test/helpers/integration.rb
# reuses an existing connection to make sure that works
reuses an existing connection to make sure that works
reuses an existing connection to make sure that works
def restart_server(connection)
    Process.kill :USR2, @server.pid
    connection.write "GET / HTTP/1.1\r\n\r\n" 
    wait_for_server_to_boot
  end
def restart_server ( connection ) Process . kill :USR2 , @server . pid connection . write "GET / HTTP/1.1\r\n\r\n" wait_for_server_to_boot end
reuses an existing connection to make sure that works
reuses an existing connection to make sure that works
# trigger it to start by sending a new request
connection
<not_specific>