BuildRequest should have a method to fetch all in-progress and pending requests for...
[WebKit.git] / Websites / perf.webkit.org / unit-tests / test-groups-tests.js
index 083e8d3da5b349b637e2a905c0bd6ab514560203..fbb6a8557493b894aa765bfe4b89a86cb2435f93 100644 (file)
@@ -139,7 +139,7 @@ describe('TestGroup', function () {
             assert.equal(buildRequests[0].order(), 0);
             assert.ok(!buildRequests[0].hasFinished());
             assert.ok(!buildRequests[0].hasStarted());
-            assert.ok(buildRequests[0].hasPending());
+            assert.ok(buildRequests[0].isPending());
             assert.equal(buildRequests[0].statusLabel(), 'Waiting to be scheduled');
             assert.equal(buildRequests[0].buildId(), null);
             assert.equal(buildRequests[0].result(), null);
@@ -148,7 +148,7 @@ describe('TestGroup', function () {
             assert.equal(buildRequests[1].order(), 1);
             assert.ok(!buildRequests[1].hasFinished());
             assert.ok(!buildRequests[1].hasStarted());
-            assert.ok(buildRequests[1].hasPending());
+            assert.ok(buildRequests[1].isPending());
             assert.equal(buildRequests[1].statusLabel(), 'Waiting to be scheduled');
             assert.equal(buildRequests[1].buildId(), null);
             assert.equal(buildRequests[1].result(), null);