     steroids.view.navigationBar.hide {
       animated: true
     }, {
-      onSuccess: -> alert "hided with animation"
+      onSuccess: -> notification "hidden with animation"
       onFailure: -> alert "failed to hide"
     }
 

        left: []
      }
    },
      onSuccess: -> alert "nav bar buttons updated"
      onFailure: -> alert "failed to update nav bar buttons"

  @testOverrideBackbuttonTrue: ->
    steroids.view.navigationBar.update {
      overrideBackButton: true
    }

  @testOverrideBackbuttonFalse: ->
    steroids.view.navigationBar.update {

        left: [button2]
      }
    },
      onSuccess: -> notification "nav bar buttons updated"
      onFailure: -> alert "failed to update nav bar buttons"

  @testButtonWithImageAsOriginal: ->
    btoImgOriginal = new steroids.buttons.NavigationBarButton
    btoImgOriginal.imagePath = "/icons/apple_colorfull.png"
    btoImgOriginal.imageAsOriginal = "true"
    btoImgOriginal.onTap = => notification "BUTTON WITH ORIGINAL IMAGE TAPPED"

    btoTintedImg = new steroids.buttons.NavigationBarButton
    btoTintedImg.imagePath = "/icons/apple_colorfull.png"
    # btoTintedImg.imageAsOriginal = "true"
    btoTintedImg.onTap = => notification "BUTTON WITH TINTED IMAGE TAPPED"

    steroids.view.navigationBar.update {
      buttons: {
