Merge branch 4.5 into master
[civicrm-core.git] / tests / mailing_test / controllerTest.js
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
13 it('should check if 5 groups are there', function() {
14 expect(scope.cool_api.length).toBe(3);
15
16 });
17 });
18 });