File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -36,6 +36,8 @@ module('Acceptance: Root', function (hooks) {
3636 } ) ;
3737
3838 test ( 'posting a string' , function ( assert ) {
39+ assert . expect ( 3 ) ;
40+
3941 server . post ( '/upload' , function ( req ) {
4042 assert . strictEqual ( req . requestBody , 'foo' ) ;
4143 return [
@@ -59,6 +61,8 @@ module('Acceptance: Root', function (hooks) {
5961 } ) ;
6062
6163 test ( 'posting a form' , function ( assert ) {
64+ assert . expect ( 3 ) ;
65+
6266 server . post ( '/upload' , function ( req ) {
6367 assert . ok ( req . requestBody instanceof window . FormData ) ;
6468 return [
@@ -84,6 +88,8 @@ module('Acceptance: Root', function (hooks) {
8488 } ) ;
8589
8690 test ( 'posting an array buffer' , function ( assert ) {
91+ assert . expect ( 3 ) ;
92+
8793 server . post ( '/upload' , function ( req ) {
8894 assert . ok ( req . requestBody instanceof window . ArrayBuffer ) ;
8995 return [
You can’t perform that action at this time.
0 commit comments