Commit | Line | Data |
---|---|---|
b2a570a7 SR |
1 | /* jasmine specs for controllers go here */ |
2 | describe('Mailing Controllers', function() { | |
3 | ||
4 | describe('Mailing Ctrl ', function(){ | |
5 | var scope, ctrl; | |
6 | ||
7 | beforeEach(module('crmMailing')); | |
8 | beforeEach(inject(function($rootScope, $controller) { | |
9 | scope = $rootScope.$new(); | |
10 | ctrl = $controller('mailingCtrl', {$scope: scope}); | |
11 | })); | |
12 | ||
b2a570a7 SR |
13 | it('should check if 5 groups are there', function() { |
14 | expect(scope.cool_api.length).toBe(3); | |
15 | ||
16 | }); | |
2ffda55d | 17 | }); |
b2a570a7 | 18 | }); |