     expect(updater).toBeDefined()
 
   it 'should create logger', ->
-    updater = new CommonUpdater( { logentries_token: '123' } )
+    updater = new CommonUpdater(logentries_token: '123')
     expect(updater.log).toBeDefined()
 
 describe '#initProgressBar', ->
   it 'should create progress bar', ->
-    updater = new CommonUpdater( { show_progress: true } )
+    updater = new CommonUpdater(show_progress: true)
     updater.initProgressBar 'foo', 42
     expect(updater.bar).toBeDefined()
     updater.bar.terminate()
 
 describe '#tickProgress', ->
   it 'should update progress bar', ->
-    updater = new CommonUpdater( { show_progress: true } )
+    updater = new CommonUpdater(show_progress: true)
     updater.initProgressBar 'bar', 2
     expect(updater.bar.curr).toBe 0
     updater.tickProgress()

      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 =

      done()

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