Skip to content

Commit d6b86f4

Browse files
committed
fixed rspecs
1 parent 2a11f10 commit d6b86f4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

test/unit/bin/helpers/packageInstaller.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,7 @@ describe("packageInstaller", () => {
256256
})
257257
.catch((error) => {
258258
spawnStub.restore();
259-
chai.assert.equal(error, "Packages were not installed successfully. Error code ${code}")
259+
chai.assert.equal(error, "Packages were not installed successfully. Error code 1")
260260
});
261261
});
262262
});

test/unit/bin/helpers/sync/specSummary.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ describe("printSpecsRunSummary", () => {
7777
var loggerWarnSpy = sinon.spy(winstonLogger, 'warn');
7878

7979
specSummary.printSpecsRunSummary(data, machines, customErrorsToPrint);
80-
sinon.assert.calledWith(loggerInfoSpy, 'Total tests: 4, passed: 1, failed: 2, skipped: 1');
80+
sinon.assert.calledWith(loggerInfoSpy, 'Total tests: 4, passed: 1, failed: 2, skipped: 1, passed_with_skipped: 0, pending: 0');
8181
sinon.assert.calledWith(loggerInfoSpy, `Done in ${time / 1000} seconds using ${machines} machines\n`);
8282
sinon.assert.calledWith(loggerWarnSpy, `custom error message`);
8383

0 commit comments

Comments
 (0)