INFRA-132 - Batch 20 - Restore non-function comments
[civicrm-core.git] / tests / mailing_test / controllerTest.js
CommitLineData
b2a570a7
SR
1/* jasmine specs for controllers go here */
2describe('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});