       )
 
       it('should emit a notification if get api method fails', (done) ->
-        $scope.podId = 21
-        $scope.caseId = 23
-        $scope.podConfig = {title: 'Foo'}
-
-        $scope.podData = {
-          items: [],
-          actions: []
-        }
-
         bindController()
 
         spyOn(PodApi, 'get')

      )

      it('should fetch and attach data to the scope if successful', () ->
        $scope.podId = 21
        $scope.caseId = 23
        $scope.podConfig = {title: 'Foo'}

        $scope.podData = {
          items: [],
          actions: []
        }

        bindController()

        spyOn(PodApi, 'get').and.returnValue($q.resolve({

      )

      it('should emit a notification if trigger api method fails', (done) ->
        bindController()

        spyOn(PodApi, 'trigger')
