Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Commenting out failing post test. Need to figure out a way to test th…

…is now that the default is to use a UUID for the frontier.
  • Loading branch information...
commit 661b62e5319bf0143312404f1fc81c895c46f6e6 1 parent adc9ab1
@mikeal mikeal authored
Showing with 17 additions and 16 deletions.
  1. +17 −16 tests/test-body.js
View
33 tests/test-body.js
@@ -50,22 +50,23 @@ var tests =
, method: "PUT"
, json: {foo: 'bar'}
}
- , testPutMultipart :
- { resp: server.createPostValidator(
- '--frontier\r\n' +
- 'content-type: text/html\r\n' +
- '\r\n' +
- '<html><body>Oh hi.</body></html>' +
- '\r\n--frontier\r\n\r\n' +
- 'Oh hi.' +
- '\r\n--frontier--'
- )
- , method: "PUT"
- , multipart:
- [ {'content-type': 'text/html', 'body': '<html><body>Oh hi.</body></html>'}
- , {'body': 'Oh hi.'}
- ]
- }
+ // , testPutMultipart :
+ // { resp: server.createPostValidator(
+ // '--frontier\r\n' +
+ // '--15F6786B-D0A8-4AB8-B0A5-DDF721BC6192\\r\\n'
+ // 'content-type: text/html\r\n' +
+ // '\r\n' +
+ // '<html><body>Oh hi.</body></html>' +
+ // '\r\n--frontier\r\n\r\n' +
+ // 'Oh hi.' +
+ // '\r\n--frontier--'
+ // )
+ // , method: "PUT"
+ // , multipart:
+ // [ {'content-type': 'text/html', 'body': '<html><body>Oh hi.</body></html>'}
+ // , {'body': 'Oh hi.'}
+ // ]
+ // }
}
s.listen(s.port, function () {
Please sign in to comment.
Something went wrong with that request. Please try again.