package com.bowlingx.websocket

import org.scalatra.test.specs2._

// For more on Specs2, see http://etorreborre.github.com/specs2/guide/org.specs2.guide.QuickStart.html
class WebsocketScalatraServletSpec extends ScalatraSpec { def is =
  "GET / on MainServlet"                     ^
    "should return status 200"                   ! root200^
                                                end

  addServlet(classOf[MainServlet], "/*")

  def root200 = get("/hello") {
    status must_== 200
  }
}
