@@ -15,7 +15,7 @@ describe('Entry api Test', () => {
1515 client = contentstackClient ( user . authtoken )
1616 } )
1717
18- it ( 'Create Entry in Single ' , done => {
18+ it ( 'should create Entry in Single ' , done => {
1919 var entry = {
2020 title : 'Sample Entry' ,
2121 url : 'sampleEntry'
@@ -31,7 +31,7 @@ describe('Entry api Test', () => {
3131 } )
3232 . catch ( done )
3333 } )
34- it ( 'Entry fetch with Content Type' , done => {
34+ it ( 'should entry fetch with Content Type' , done => {
3535 makeEntry ( singlepageCT . content_type . uid , entryUTD )
3636 . fetch ( { include_content_type : true } )
3737 . then ( ( entryResponse ) => {
@@ -42,7 +42,7 @@ describe('Entry api Test', () => {
4242 . catch ( done )
4343 } )
4444
45- it ( 'Localize entry with title update' , done => {
45+ it ( 'should localize entry with title update' , done => {
4646 makeEntry ( singlepageCT . content_type . uid , entryUTD )
4747 . fetch ( )
4848 . then ( ( entry ) => {
@@ -59,7 +59,7 @@ describe('Entry api Test', () => {
5959 . catch ( done )
6060 } )
6161
62- it ( 'Create Entries for Multiple page' , done => {
62+ it ( 'should create Entries for Multiple page' , done => {
6363 makeEntry ( multiPageCT . content_type . uid )
6464 . create ( { entry : entryFirst } )
6565 . then ( ( entry ) => {
@@ -74,7 +74,7 @@ describe('Entry api Test', () => {
7474 . catch ( done )
7575 } )
7676
77- it ( 'Create Entries 2 for Multiple page' , done => {
77+ it ( 'should create Entries 2 for Multiple page' , done => {
7878 makeEntry ( multiPageCT . content_type . uid )
7979 . create ( { entry : entrySecond } )
8080 . then ( ( entry ) => {
@@ -90,7 +90,7 @@ describe('Entry api Test', () => {
9090 . catch ( done )
9191 } )
9292
93- it ( 'Create Entries 3 for Multiple page' , done => {
93+ it ( 'should create Entries 3 for Multiple page' , done => {
9494 makeEntry ( multiPageCT . content_type . uid )
9595 . create ( { entry : entryThird } )
9696 . then ( ( entry ) => {
@@ -106,7 +106,7 @@ describe('Entry api Test', () => {
106106 . catch ( done )
107107 } )
108108
109- it ( 'Get all Entry' , done => {
109+ it ( 'should get all Entry' , done => {
110110 makeEntry ( multiPageCT . content_type . uid )
111111 . query ( { include_count : true , include_content_type : true } ) . find ( )
112112 . then ( ( collection ) => {
@@ -121,7 +121,7 @@ describe('Entry api Test', () => {
121121 . catch ( done )
122122 } )
123123
124- it ( 'Get all Entry from tag' , done => {
124+ it ( 'should get all Entry from tag' , done => {
125125 makeEntry ( multiPageCT . content_type . uid )
126126 . query ( { include_count : true , query : { tags : entrySecond . tags [ 0 ] } } ) . find ( )
127127 . then ( ( collection ) => {
@@ -135,7 +135,7 @@ describe('Entry api Test', () => {
135135 . catch ( done )
136136 } )
137137
138- it ( 'Publish Entry' , done => {
138+ it ( 'should publish Entry' , done => {
139139 makeEntry ( singlepageCT . content_type . uid , entryUTD )
140140 . publish ( { publishDetails : {
141141 locales : [ 'en-us' ] ,
@@ -148,7 +148,7 @@ describe('Entry api Test', () => {
148148 . catch ( done )
149149 } )
150150
151- it ( 'Publish localized Entry to locales' , done => {
151+ it ( 'should publish localized Entry to locales' , done => {
152152 makeEntry ( singlepageCT . content_type . uid , entryUTD )
153153 . publish ( { publishDetails : {
154154 locales : [ 'hi-in' , 'en-at' ] ,
@@ -162,7 +162,7 @@ describe('Entry api Test', () => {
162162 . catch ( done )
163163 } )
164164
165- it ( 'Unpublish localized entry' , done => {
165+ it ( 'should unpublish localized entry' , done => {
166166 makeEntry ( singlepageCT . content_type . uid , entryUTD )
167167 . unpublish ( { publishDetails : {
168168 locales : [ 'hi-in' , 'en-at' ] ,
@@ -176,7 +176,7 @@ describe('Entry api Test', () => {
176176 . catch ( done )
177177 } )
178178
179- it ( 'Import Entry' , done => {
179+ it ( 'should import Entry' , done => {
180180 makeEntry ( multiPageCT . content_type . uid )
181181 . import ( {
182182 entry : path . join ( __dirname , '../mock/entry.json' )
0 commit comments