Skip to content
Browse files

[test] Macro resets package.json to v0.0.0-1, writes indented json

  • Loading branch information...
1 parent 40be33c commit d7730d08a3efefd7e833d48d6bce9c5660cc481e @jfhbrook jfhbrook committed Feb 23, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 test/helpers/macros.js
View
4 test/helpers/macros.js
@@ -71,12 +71,12 @@ exports.useAppFixture = function () {
name: 'example-app',
subdomain: 'example-app',
scripts: { start: 'server.js' },
- version: '0.0.0'
+ version: '0.0.0-1'
};
var cwd = process.cwd();
- fs.writeFileSync(packageFile, JSON.stringify(pkg))
+ fs.writeFileSync(packageFile, JSON.stringify(pkg, true, 2))
// Change directories
process.chdir(path.join(__dirname, '..', 'fixtures', 'example-app'));

0 comments on commit d7730d0

Please sign in to comment.
Something went wrong with that request. Please try again.