@@ -24,7 +24,7 @@ describe('Extension api Test', () => {
2424 const user = jsonReader ( 'loggedinuser.json' )
2525 client = contentstackClient ( user . authtoken )
2626 } )
27- it ( 'Create Custom field with source URL' , done => {
27+ it ( 'should create Custom field with source URL' , done => {
2828 makeExtension ( )
2929 . create ( customFieldURL )
3030 . then ( ( extension ) => {
@@ -39,7 +39,7 @@ describe('Extension api Test', () => {
3939 . catch ( done )
4040 } )
4141
42- it ( 'Create Custom field with source Code' , done => {
42+ it ( 'should create Custom field with source Code' , done => {
4343 makeExtension ( )
4444 . create ( customFieldSRC )
4545 . then ( ( extension ) => {
@@ -54,7 +54,7 @@ describe('Extension api Test', () => {
5454 . catch ( done )
5555 } )
5656
57- it ( 'Create Custom widget with source URL' , done => {
57+ it ( 'should create Custom widget with source URL' , done => {
5858 makeExtension ( )
5959 . create ( customWidgetURL )
6060 . then ( ( extension ) => {
@@ -69,7 +69,7 @@ describe('Extension api Test', () => {
6969 . catch ( done )
7070 } )
7171
72- it ( 'Create Custom widget with source Code' , done => {
72+ it ( 'should create Custom widget with source Code' , done => {
7373 makeExtension ( )
7474 . create ( customWidgetSRC )
7575 . then ( ( extension ) => {
@@ -84,7 +84,7 @@ describe('Extension api Test', () => {
8484 . catch ( done )
8585 } )
8686
87- it ( 'Create Custom dashboard with source URL' , done => {
87+ it ( 'should create Custom dashboard with source URL' , done => {
8888 makeExtension ( )
8989 . create ( customDashboardURL )
9090 . then ( ( extension ) => {
@@ -99,7 +99,7 @@ describe('Extension api Test', () => {
9999 . catch ( done )
100100 } )
101101
102- it ( 'Create Custom dashboard with source Code' , done => {
102+ it ( 'should create Custom dashboard with source Code' , done => {
103103 makeExtension ( )
104104 . create ( customDashboardSRC )
105105 . then ( ( extension ) => {
@@ -114,7 +114,7 @@ describe('Extension api Test', () => {
114114 . catch ( done )
115115 } )
116116
117- it ( 'fetch and Update Custom fields' , done => {
117+ it ( 'should fetch and Update Custom fields' , done => {
118118 makeExtension ( customFieldUID )
119119 . fetch ( )
120120 . then ( ( extension ) => {
@@ -136,7 +136,7 @@ describe('Extension api Test', () => {
136136 . catch ( done )
137137 } )
138138
139- it ( 'fetch and Update Custom Widget' , done => {
139+ it ( 'should fetch and Update Custom Widget' , done => {
140140 makeExtension ( customWidgetUID )
141141 . fetch ( )
142142 . then ( ( extension ) => {
@@ -158,7 +158,7 @@ describe('Extension api Test', () => {
158158 . catch ( done )
159159 } )
160160
161- it ( 'fetch and Update Custom dashboard' , done => {
161+ it ( 'should fetch and Update Custom dashboard' , done => {
162162 makeExtension ( customDashboardUID )
163163 . fetch ( )
164164 . then ( ( extension ) => {
@@ -180,7 +180,7 @@ describe('Extension api Test', () => {
180180 . catch ( done )
181181 } )
182182
183- it ( 'Query Custom field' , done => {
183+ it ( 'should query Custom field' , done => {
184184 makeExtension ( )
185185 . query ( { query : { type : 'field' } } )
186186 . find ( )
@@ -195,7 +195,7 @@ describe('Extension api Test', () => {
195195 . catch ( done )
196196 } )
197197
198- it ( 'Query Custom widget' , done => {
198+ it ( 'should query Custom widget' , done => {
199199 makeExtension ( )
200200 . query ( { query : { type : 'widget' } } )
201201 . find ( )
@@ -210,22 +210,22 @@ describe('Extension api Test', () => {
210210 . catch ( done )
211211 } )
212212
213- it ( 'Query Custom dashboard' , done => {
213+ it ( 'should query Custom dashboard' , done => {
214214 makeExtension ( )
215215 . query ( { query : { type : 'dashboard' } } )
216216 . find ( )
217217 . then ( ( extensions ) => {
218218 extensions . items . forEach ( extension => {
219219 expect ( extension . uid ) . to . be . not . equal ( null )
220220 expect ( extension . title ) . to . be . not . equal ( null )
221- expect ( extension . type ) . to . be . equal ( 'dashboard' )
221+ expect ( extension . type ) . to . be . equal ( 'should dashboard' )
222222 } )
223223 done ( )
224224 } )
225225 . catch ( done )
226226 } )
227227
228- it ( 'Upload Custom field' , done => {
228+ it ( 'should upload Custom field' , done => {
229229 makeExtension ( )
230230 . upload ( {
231231 title : 'Custom field Upload' ,
@@ -247,7 +247,7 @@ describe('Extension api Test', () => {
247247 . catch ( done )
248248 } )
249249
250- it ( 'Upload Custom widget' , done => {
250+ it ( 'should upload Custom widget' , done => {
251251 makeExtension ( )
252252 . upload ( {
253253 title : 'Custom widget Upload' ,
@@ -268,7 +268,7 @@ describe('Extension api Test', () => {
268268 . catch ( done )
269269 } )
270270
271- it ( 'Upload dashboard' , done => {
271+ it ( 'should upload dashboard' , done => {
272272 makeExtension ( )
273273 . upload ( {
274274 title : 'Custom dashboard Upload' ,
@@ -293,7 +293,7 @@ describe('Extension api Test', () => {
293293 . catch ( done )
294294 } )
295295
296- it ( 'Delete Custom field' , done => {
296+ it ( 'should delete Custom field' , done => {
297297 makeExtension ( customFieldUID )
298298 . delete ( )
299299 . then ( ( data ) => {
@@ -303,7 +303,7 @@ describe('Extension api Test', () => {
303303 . catch ( done )
304304 } )
305305
306- it ( 'Delete Custom widget' , done => {
306+ it ( 'should delete Custom widget' , done => {
307307 makeExtension ( customWidgetUID )
308308 . delete ( )
309309 . then ( ( data ) => {
@@ -313,7 +313,7 @@ describe('Extension api Test', () => {
313313 . catch ( done )
314314 } )
315315
316- it ( 'Delete Custom dashboard' , done => {
316+ it ( 'should delete Custom dashboard' , done => {
317317 makeExtension ( customDashboardUID )
318318 . delete ( )
319319 . then ( ( data ) => {
@@ -323,7 +323,7 @@ describe('Extension api Test', () => {
323323 . catch ( done )
324324 } )
325325
326- it ( 'Delete Custom field created from src' , done => {
326+ it ( 'should delete Custom field created from src' , done => {
327327 makeExtension ( customFieldSrcUID )
328328 . delete ( )
329329 . then ( ( data ) => {
@@ -333,7 +333,7 @@ describe('Extension api Test', () => {
333333 . catch ( done )
334334 } )
335335
336- it ( 'Delete Custom widget created from src' , done => {
336+ it ( 'should delete Custom widget created from src' , done => {
337337 makeExtension ( customWidgetSrcUID )
338338 . delete ( )
339339 . then ( ( data ) => {
@@ -343,7 +343,7 @@ describe('Extension api Test', () => {
343343 . catch ( done )
344344 } )
345345
346- it ( 'Delete Custom dashboard created from src' , done => {
346+ it ( 'should delete Custom dashboard created from src' , done => {
347347 makeExtension ( customDashboardSrcUID )
348348 . delete ( )
349349 . then ( ( data ) => {
@@ -353,7 +353,7 @@ describe('Extension api Test', () => {
353353 . catch ( done )
354354 } )
355355
356- it ( 'Delete Custom field uploaded' , done => {
356+ it ( 'should delete Custom field uploaded' , done => {
357357 makeExtension ( customFieldUploadUID )
358358 . delete ( )
359359 . then ( ( data ) => {
@@ -363,7 +363,7 @@ describe('Extension api Test', () => {
363363 . catch ( done )
364364 } )
365365
366- it ( 'Delete Custom widget uploaded' , done => {
366+ it ( 'should delete Custom widget uploaded' , done => {
367367 makeExtension ( customWidgetUploadUID )
368368 . delete ( )
369369 . then ( ( data ) => {
@@ -373,7 +373,7 @@ describe('Extension api Test', () => {
373373 . catch ( done )
374374 } )
375375
376- it ( 'Delete Custom dashboard uploaded' , done => {
376+ it ( 'should delete Custom dashboard uploaded' , done => {
377377 makeExtension ( customDashboardUploadUID )
378378 . delete ( )
379379 . then ( ( data ) => {
0 commit comments