blob: d61482a6728557602ae089585725b8ec78593f23 [file] [log] [blame]
'use strict';
describe('Controller: MainCtrl', function () {
// load the controller's module
beforeEach(module('iceApp'));
var MainCtrl,
scope;
// Initialize the controller and a mock scope
beforeEach(inject(function ($controller, $rootScope) {
scope = $rootScope.$new();
MainCtrl = $controller('MainCtrl', {
$scope: scope
// place here mocked dependencies
});
}));
it('should attach a list of awesomeThings to the scope', function () {
expect(MainCtrl.awesomeThings.length).toBe(3);
});
});