[Test] Update spec to use SOC percentage

This commit is contained in:
David Hudson 2016-09-20 17:42:34 +09:00
parent f185254114
commit 3d17435438

View File

@ -101,7 +101,7 @@ define(
it("provides a battery graph for timelines with capacity", function () {
var mockCallback = jasmine.createSpy('callback');
testModel.capacity = 1000;
testModel.startingSOC = 1000;
testModel.startingSOC = 100;
testModel.type = "timeline";
mockDomainObject.useCapability.andReturn(asPromise([
{ key: "power", start: 0, end: 15 }