-
-
Save bdarfler/519566 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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