From 627f3be4f83e09ee205906ef8be6d775c11db720 Mon Sep 17 00:00:00 2001 From: sashko Date: Thu, 5 Mar 2015 19:21:48 -0800 Subject: [PATCH] Fix autoupdate test on Windows --- tools/selftest.js | 2 +- tools/tests/autoupdate.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/selftest.js b/tools/selftest.js index 9393e5e5e6..151b748b43 100644 --- a/tools/selftest.js +++ b/tools/selftest.js @@ -807,7 +807,7 @@ _.extend(Sandbox.prototype, { stubCatalog.collections.versions.push(versionRec); stubCatalog.collections.builds.push({ - architecture: isopack.buildArchitectures(), + buildArchitectures: isopack.buildArchitectures(), versionId: versionRec._id, _id: utils.randomToken() }); diff --git a/tools/tests/autoupdate.js b/tools/tests/autoupdate.js index d7da44f2d7..4dfb4ba816 100644 --- a/tools/tests/autoupdate.js +++ b/tools/tests/autoupdate.js @@ -138,7 +138,7 @@ selftest.define("autoupdate", ['checkout'], function () { run.stop(); run = s.run("update"); - run.read("myapp: updated to Meteor v3."); + run.match("myapp: updated to Meteor v3.\n"); run.match("Your packages are at their latest compatible versions.\n"); run.expectExit(0);