       done()
 
   it 'should send info log to logentries', (done) ->
-    updater = new CommonUpdater( { logentries_token: 'abc' } )
+    updater = new CommonUpdater(logentries_token: 'abc')
     spyOn(updater.log, 'log')
     updater.returnResult true, 'txt', (ret) ->
       expectedMessage =

    
describe '#returnResult', ->
  it 'should terminate progress bar', (done) ->
    updater = new CommonUpdater( { show_progress: true } )
    updater.initProgressBar 'blabla', 7
    updater.returnResult true, 'some text', (ret) ->
      done()

      done()

  it 'should send error log to logentries', (done) ->
    updater = new CommonUpdater(logentries_token: 'abc')
    spyOn(updater.log, 'log')
    updater.returnResult false, [ 'Oops' ], (ret) ->
      expectedMessage =
