@@ -52,7 +52,7 @@ describe('account API - Provisioning', function () {
5252 return true ;
5353 } ) ;
5454
55- after ( 'Destroy the sub account and user that was created' , async ( ) => {
55+ after ( 'Destroy the sub_account and user that was created' , async ( ) => {
5656 let delRes = await cloudinary . provisioning . account . delete_sub_account ( CLOUD_ID ) ;
5757 let delUserRes = await cloudinary . provisioning . account . delete_user ( USER_ID ) ;
5858 let delGroupRes = await cloudinary . provisioning . account . delete_user_group ( GROUP_ID ) ;
@@ -74,15 +74,15 @@ describe('account API - Provisioning', function () {
7474 } ) ;
7575 } ) ;
7676
77- it ( 'Updates a sub account ' , async ( ) => {
77+ it ( 'Updates a sub_account ' , async ( ) => {
7878 let NEW_NAME = CLOUD_NAME_PREFIX + Date . now ( ) ;
7979 await cloudinary . provisioning . account . update_sub_account ( CLOUD_ID , NEW_NAME ) ;
8080
8181 let subAccRes = await cloudinary . provisioning . account . sub_account ( CLOUD_ID ) ;
8282 expect ( subAccRes . name ) . to . eql ( NEW_NAME ) ;
8383 } ) ;
8484
85- it ( 'Get all sub accounts ' , async function ( ) {
85+ it ( 'Get all sub_accounts ' , async function ( ) {
8686 return cloudinary . provisioning . account . sub_accounts ( true ) . then ( ( res ) => {
8787 // ensure the cloud we created exists (there might be other clouds there...
8888 let item = res . sub_accounts . find ( ( subAccount ) => {
@@ -95,23 +95,23 @@ describe('account API - Provisioning', function () {
9595 } ) ;
9696 } ) ;
9797
98- it ( 'Get a specific subAccount ' , async function ( ) {
98+ it ( 'Get a specific sub_account ' , async function ( ) {
9999 return cloudinary . provisioning . account . sub_accounts ( true , [ CLOUD_ID ] ) . then ( ( res ) => {
100100 expect ( res . sub_accounts . length ) . to . eql ( 1 ) ;
101101 } ) . catch ( ( err ) => {
102102 throw err ;
103103 } ) ;
104104 } ) ;
105105
106- it ( 'Get sub-accounts by prefix' , async function ( ) {
106+ it ( 'Get sub_accounts by prefix' , async function ( ) {
107107 return cloudinary . provisioning . account . sub_accounts ( true , [ ] , CLOUD_NAME_PREFIX ) . then ( ( res ) => {
108108 expect ( res . sub_accounts . length ) . to . eql ( 1 ) ;
109109 } ) . catch ( ( err ) => {
110110 throw err ;
111111 } ) ;
112112 } ) ;
113113
114- it ( 'Gets a specific subAccount ' , async function ( ) {
114+ it ( 'Gets a specific sub_account ' , async function ( ) {
115115 return cloudinary . provisioning . account . sub_account ( CLOUD_ID ) . then ( ( res ) => {
116116 expect ( res . id ) . to . eql ( CLOUD_ID ) ;
117117 } ) . catch ( ( err ) => {
0 commit comments