Skip to content

Instantly share code, notes, and snippets.

@bdarfler
Created August 11, 2010 19:22
Show Gist options
  • Select an option

  • Save bdarfler/519566 to your computer and use it in GitHub Desktop.

Select an option

Save bdarfler/519566 to your computer and use it in GitHub Desktop.
package com.mycompany
import org.scalatest.FunSuite
import org.scalatest.matchers.ShouldMatchers
import org.scalatra.test.ScalatraTests
class UploaderTest extends FunSuite with ShouldMatchers with ScalatraTests{
routeFilter(classOf[Uploader], "/*")
test("simple get") {
get("/test") {
status should equal (202)
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment