WIP Domain listing app with automatic status checking. Buitl with AngularJS.

about.js 516B

    'use strict'; describe('Controller: AboutCtrl', function () { // load the controller's module beforeEach(module('domainManagerApp')); var AboutCtrl, scope; // Initialize the controller and a mock scope beforeEach(inject(function ($controller, $rootScope) { scope = $rootScope.$new(); AboutCtrl = $controller('AboutCtrl', { $scope: scope }); })); it('should attach a list of awesomeThings to the scope', function () { expect(scope.awesomeThings.length).toBe(3); }); });