'use strict';
var expect = chai.expect;

describe('StatusCtrl', function(){
  
});

'use strict';
var expect = chai.expect;

function run(scope,done) {
  done();
}

describe('StatusCtrl', function(){
  var rootScope, scope, controller_injector, dependencies, ctrl;

  beforeEach(module("rp"));
  beforeEach(inject(function($rootScope, $controller, $q) {
    rootScope = rootScope;
    scope = $rootScope.$new();
    controller_injector = $controller;

    dependencies = {
      $scope: scope,
      $element: null
    }

    ctrl = controller_injector("StatusCtrl", dependencies);
  }));

  it('should initialize properly', function (done) {
    assert.isNotNull(ctrl);
    run(scope,done);
  });

  describe('public functions on $scope', function () {

    it('should toggle the secondary', function (done) {
      assert.isFunction(scope.toggle_secondary);
      run(scope,done);
    });

    it('should logout', function (done) {
      assert.isFunction(scope.logout);
      run(scope,done);
    });
  });

  describe('private functions', function() {

    it('should set the connection status', function (done) {
      assert.isFunction(ctrl.setConnectionStatus);
      run(scope,done);
    });

    it('should enqueue', function (done) {
      assert.isFunction(ctrl.enqueue);
      run(scope,done);
    });

    it('should tick', function (done) {
      assert.isFunction(ctrl.tick);
      run(scope,done);
    });

  });
});

Initialize StatusCtrl and add basic tests
[CHORE] Initialize StatusCtrl and add basic tests

Test that private functions and functions on $scope are present
