1 /* jasmine specs for controllers go here */
2 describe('Mailing Controllers', function() {
4 describe('Mailing Ctrl ', function(){
7 beforeEach(module('crmMailing'));
8 beforeEach(inject(function($rootScope
, $controller
) {
9 scope
= $rootScope
.$new();
10 ctrl
= $controller('mailingCtrl', {$scope
: scope
});
13 it('should check if 5 groups are there', function() {
14 expect(scope
.cool_api
.length
).toBe(3);