 fs = require 'fs'
 path = require 'path'
-{create} = require '../api'
+{init} = require '../api'
 uuid = require 'uuid'
 should = require 'should'
 

        friendlyName: name
      , (e ,r, b) ->
        if e then return done e
        b.should.be.an.Object
        b.statusCode.should.equal '000000'
        b.SubAccount.should.be.an.Object

describe 'api', ->
  api = null
  before ->
    api = init
      accountSid: config.accountSid
      authToken: config.authToken
      appId: config.appId
