Sha256: 2d3e2ee4a06718d728ea517f1dd9048f89b04c94a97746dac8e2e210e9a309b5
Contents?: true
Size: 520 Bytes
Versions: 1
Compression:
Stored size: 520 Bytes
Contents
'use strict'; describe('Controller: MainCtrl', function () { // load the controller's module beforeEach(module('linkedin2cv GeneratorApp')); var MainCtrl, scope; // Initialize the controller and a mock scope beforeEach(inject(function ($controller, $rootScope) { scope = $rootScope.$new(); MainCtrl = $controller('MainCtrl', { $scope: scope }); })); it('should attach a list of awesomeThings to the scope', function () { expect(scope.awesomeThings.length).toBe(3); }); });
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
linkedin2cv-0.0.1 | public/test/spec/controllers/main.js |