Summary Table

Categories Total Count
PII 0
URL 0
DNS 0
EKL 0
IP 0
PORT 0
VsID 0
CF 0
AI 0
VPD 0
PL 0
Other 0

File Content

define(['formatter'], function () {
'use strict';

describe("Formatter Service", function () {
var formatterObj;

beforeEach(function() {
module('angularTemplateApp');

inject(function($rootScope, $filter, config, formatter) {
formatterObj = formatter;
});
});

describe("toTitleCase function", function () {
it("should capitalize only the first letter of the given string", function () {
expect(formatterObj.toTitleCase('medications')).toEqual('Medications');
});
});
});
});