--- a/src/test/scala/OtherSpecs.scala Wed Apr 04 23:53:09 2012 +0200
+++ b/src/test/scala/OtherSpecs.scala Thu Apr 05 15:38:42 2012 +0200
@@ -20,9 +20,9 @@
object DeleteResourceSpec extends SomeDataInStore {
"""a DELETE request""" should {
- "not be supported yet" in {
- val statusCode = Http.when(_ == 405)(uri.copy(method="DELETE") get_statusCode)
- statusCode must_== 405
+ "not delete the resource" in {
+ val statusCode = Http.when(_ == 204)(uri.copy(method="DELETE") get_statusCode)
+ statusCode must_== 204
}
}