text: /* jshint -W117, -W030 */
  describe('AdminController', function() {
      var controller;
      var admin = mockData.getMockAdmin();
      
      beforeEach(function() {
          bard.appModule('app.admin');
          bard.inject('$controller', '$log', '$rootScope', 'dataservice', '$q');
      });
  
      beforeEach(function () {
          sinon.stub(dataservice, 'getAdmin').returns($q.when(admin));
          controller = $controller('AdminController');
          $rootScope.$apply();
      });
  
      bard.verifyNoOutstandingHttpRequests();
  
      describe('Admin controller', function() {
          it('should be created successfully', function () {
              expect(controller).to.be.defined;
          });
  
          describe('after activate', function() {
              it('should have title of Admin', function() {
                  expect(controller.title).to.equal('Admin');
              });
  
              // it('should have logged "Activated"', function() {
              //     expect($log.info.logs).to.match(/Activated/);
              // });
          });
      });
  });
  