Updating tests to use the new responseBody signature

This commit is contained in:
abhijitkane
2018-11-30 11:30:26 +05:30
parent 197f51adfc
commit 146cc21c20
2 changed files with 9 additions and 5 deletions

View File

@@ -405,6 +405,10 @@ module.exports = {
* @returns {string} string
*/
insertSpacesInName: function (string) {
if (!string) {
return null;
}
// convert createUser to create User
string = string.replace(/([a-z])([A-Z])/g, '$1 $2');