       )
 
       it('should emit a notification event if unsuccessful', (done) ->
-        $scope.podId = 21
-        $scope.caseId = 23
-        $scope.podConfig = {title: 'Foo'}
-
-        $scope.podData = {
-          items: [],
-          actions: []
-        }
-
         bindController()
 
         spyOn(PodApi, 'trigger').and.returnValue($q.resolve({


    beforeEach(() ->
      $scope = $rootScope.$new()

      $scope.podData = {
        items: [],

      )

      it('should mark the action as busy', () ->
        $scope.podData.actions = [{
          type: 'grault'
          isBusy: false,
          payload: {}
        }, {
          type: 'fred',
          isBusy: false,
          payload: {}
        }]

        bindController()

