These are chat archives for etorreborre/specs2

11th
Apr 2015
Andy Czerwonka
@andyczerwonka
Apr 11 2015 01:23
ok, got it sorted
    "return unauthorized for whoami" in new WithApplication(testApplication) {
      route(FakeRequest(GET, "/api/whoami")) must beSome.which(res => {
        status(res) must equalTo(UNAUTHORIZED)
      })
    }