Method: JsTestCore::Resources::WebRoot#get

Defined in:
lib/js_test_core/resources/web_root.rb

#getObject



60
61
62
63
# File 'lib/js_test_core/resources/web_root.rb', line 60

def get
  connection.send_head(200, :Location => "/#{self.class.dispatch_strategy}")
  connection.send_body("<html><head></head><body>Welcome to the Js Test Server. Click the following link to run you <a href=/specs>spec suite</a>.</body></html>")
end