           }
         ]
       },
-      onSuccess: -> alert "updated"
+      onSuccess: -> notification "updated"
       onFailure: -> alert "failed to update"
     )
 


    @didChangeHandlers.push eventHandler

    alert "event listener added"

  @testRemoveAllEventHandlers: ->
    @didChangeHandlers.forEach (handlerId) -> steroids.tabBar.off 'didchange', handlerId

    @willChangeHandlers = []
    @didChangeHandlers = []

    notification "event handlers removed"

  @testRemoveDidChangeEvents: ->
    steroids.tabBar.off 'didchange'

    notification "didchange events handlers removed"

  @testRemoveWillChangeEvents: ->
    steroids.tabBar.off 'willchange'

    notification "willchange events handlers removed"

