           name: 'Buz'
           data: title: 'Baz'
         expect(stateTitle).toBe 'Baz'
+
+      it 'should convertActionToIcon', ->
+        childScope = title.scope()
+        $action = angular.element '<bp-action class="bp-button">Yo</bp-action>'
+        childScope.convertActionToIcon $action
+        expect($action.text()).toBe ''
+        expect($action.hasClass 'bp-button').toBe false
+        expect($action.hasClass 'bp-icon').toBe true
+        expect($action.attr 'aria-label').toBe 'Yo'
 
     describe 'element', ->
       it 'should have ARIA role', ->

        expect($spacer.attr 'style').toMatch /flex/
        expect(element.children().get 2).toBe $spacer.get 0
        element.detach()

  describe 'android', ->
    scope   = null



    describe 'controller', ->
      it 'should getTitleFromState', ->
        childScope = title.scope()
        stateTitle = childScope.getTitleFromState
          data: title: 'Foo'
