 
 
 # returns 20 characters by default
-getRandomString  = (length = 20) ->
+generateRandomString = (length = 20) ->
 
   return hat().slice(32 - length)
 
-
+# _.extend didn't help with deep extend
 # deep extending one object from another, works only for objects
 deepObjectExtend = (target, source) ->
 


class RegisterHandlerHelper

  @getDefaultBodyObject = (randomString) ->

    defaultBodyObject     =
      email             : "testuser+#{randomString}@koding.com"

    return defaultBodyObject


  @generateDefaultHeadersObject = ->

    userAgent =
      'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_3)
