Fix some test bugs related to package names/dirs

This commit is contained in:
Sashko Stubailo
2015-02-06 14:49:04 -08:00
parent 2f24eb418d
commit 6aa9142e67
2 changed files with 3 additions and 2 deletions

View File

@@ -1547,7 +1547,7 @@ selftest.define("show server package",
return { placeholder: placeholder, name: name, label: label};
}), 'name');
s.cd(fullPackageName, function () {
s.cd(packageDirName, function () {
// Replace the dependencies placeholders in the package.js file with the
// packages that we have just published.
s.cp("package-with-implies.js", "package.js");
@@ -1643,7 +1643,7 @@ selftest.define("show server package",
});
// Publish a pre-release version of the package.
s.cd(fullPackageName, function () {
s.cd(packageDirName, function () {
s.cp("package-rc-version.js", "package.js");
var run = s.run("publish");
run.waitSecs(30);

View File

@@ -1,4 +1,5 @@
Package.describe({
name: "~package-name~", // replaced via `Sandbox.prototype.createPackage`
summary: 'This is a test package',
version: '1.0.0',
git: 'www.github.com/meteor/meteor',