@@ -13,7 +13,7 @@ for (var i = 0; i < str.length; i++) {
13
13
14
14
describe ( 'Parse.File testing' , ( ) => {
15
15
describe ( 'creating files' , ( ) => {
16
- it ( 'works with Content-Type' , done => {
16
+ it_exclude_dbs ( [ 'postgres' ] ) ( 'works with Content-Type' , done => {
17
17
var headers = {
18
18
'Content-Type' : 'application/octet-stream' ,
19
19
'X-Parse-Application-Id' : 'test' ,
@@ -37,7 +37,7 @@ describe('Parse.File testing', () => {
37
37
} ) ;
38
38
39
39
40
- it ( 'works with _ContentType' , done => {
40
+ it_exclude_dbs ( [ 'postgres' ] ) ( 'works with _ContentType' , done => {
41
41
42
42
request . post ( {
43
43
url : 'http://localhost:8378/1/files/file' ,
@@ -61,7 +61,7 @@ describe('Parse.File testing', () => {
61
61
} ) ;
62
62
} ) ;
63
63
64
- it ( 'works without Content-Type' , done => {
64
+ it_exclude_dbs ( [ 'postgres' ] ) ( 'works without Content-Type' , done => {
65
65
var headers = {
66
66
'X-Parse-Application-Id' : 'test' ,
67
67
'X-Parse-REST-API-Key' : 'rest'
@@ -84,7 +84,7 @@ describe('Parse.File testing', () => {
84
84
} ) ;
85
85
} ) ;
86
86
87
- it ( 'supports REST end-to-end file create, read, delete, read' , done => {
87
+ it_exclude_dbs ( [ 'postgres' ] ) ( 'supports REST end-to-end file create, read, delete, read' , done => {
88
88
var headers = {
89
89
'Content-Type' : 'image/jpeg' ,
90
90
'X-Parse-Application-Id' : 'test' ,
@@ -128,7 +128,7 @@ describe('Parse.File testing', () => {
128
128
} ) ;
129
129
} ) ;
130
130
131
- it ( 'blocks file deletions with missing or incorrect master-key header' , done => {
131
+ it_exclude_dbs ( [ 'postgres' ] ) ( 'blocks file deletions with missing or incorrect master-key header' , done => {
132
132
var headers = {
133
133
'Content-Type' : 'image/jpeg' ,
134
134
'X-Parse-Application-Id' : 'test' ,
@@ -173,7 +173,7 @@ describe('Parse.File testing', () => {
173
173
} ) ;
174
174
} ) ;
175
175
176
- it ( 'handles other filetypes' , done => {
176
+ it_exclude_dbs ( [ 'postgres' ] ) ( 'handles other filetypes' , done => {
177
177
var headers = {
178
178
'Content-Type' : 'image/jpeg' ,
179
179
'X-Parse-Application-Id' : 'test' ,
@@ -196,7 +196,7 @@ describe('Parse.File testing', () => {
196
196
} ) ;
197
197
} ) ;
198
198
199
- it ( "save file" , done => {
199
+ it_exclude_dbs ( [ 'postgres' ] ) ( "save file" , done => {
200
200
var file = new Parse . File ( "hello.txt" , data , "text/plain" ) ;
201
201
ok ( ! file . url ( ) ) ;
202
202
file . save ( expectSuccess ( {
@@ -316,7 +316,7 @@ describe('Parse.File testing', () => {
316
316
} ) ) ;
317
317
} ) ;
318
318
319
- it ( "saving an already saved file" , done => {
319
+ it_exclude_dbs ( [ 'postgres' ] ) ( "saving an already saved file" , done => {
320
320
var file = new Parse . File ( "hello.txt" , data , "text/plain" ) ;
321
321
ok ( ! file . url ( ) ) ;
322
322
file . save ( expectSuccess ( {
@@ -337,7 +337,7 @@ describe('Parse.File testing', () => {
337
337
} ) ) ;
338
338
} ) ;
339
339
340
- it ( "two saves at the same time" , done => {
340
+ it_exclude_dbs ( [ 'postgres' ] ) ( "two saves at the same time" , done => {
341
341
var file = new Parse . File ( "hello.txt" , data , "text/plain" ) ;
342
342
343
343
var firstName ;
@@ -369,7 +369,7 @@ describe('Parse.File testing', () => {
369
369
} ) ) ;
370
370
} ) ;
371
371
372
- it ( "content-type used with no extension" , done => {
372
+ it_exclude_dbs ( [ 'postgres' ] ) ( "content-type used with no extension" , done => {
373
373
var headers = {
374
374
'Content-Type' : 'text/html' ,
375
375
'X-Parse-Application-Id' : 'test' ,
@@ -390,7 +390,7 @@ describe('Parse.File testing', () => {
390
390
} ) ;
391
391
} ) ;
392
392
393
- it ( "filename is url encoded" , done => {
393
+ it_exclude_dbs ( [ 'postgres' ] ) ( "filename is url encoded" , done => {
394
394
var headers = {
395
395
'Content-Type' : 'text/html' ,
396
396
'X-Parse-Application-Id' : 'test' ,
0 commit comments