/test/spec/controllers/contacte.js
JavaScript | 22 lines | 15 code | 5 blank | 2 comment | 0 complexity | 81acc74d0c76b7297bc6017f42b1d2e0 MD5 | raw file
- 'use strict';
- describe('Controller: ContacteCtrl', function() {
- // load the controller's module
- beforeEach(module('torredelpriorApp'));
- var ContacteCtrl,
- scope;
- // Initialize the controller and a mock scope
- beforeEach(inject(function($controller) {
- scope = {};
- ContacteCtrl = $controller('ContacteCtrl', {
- $scope: scope
- });
- }));
- it('should attach a list of awesomeThings to the scope', function() {
- expect(scope.awesomeThings.length).toBe(3);
- });
- });