Skip to content

Commit

Permalink
[dist test] Move test/fork-test.js to test/monitor/fork-test.js
Browse files Browse the repository at this point in the history
  • Loading branch information
indexzero committed Jan 5, 2012
1 parent 4ab4438 commit 49de211
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/fork-test.js → test/monitor/fork-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@
var assert = require('assert'),
path = require('path'),
vows = require('vows'),
forever = require('../lib/forever');
forever = require('../../lib/forever');

vows.describe('forever/fork').addBatch({
vows.describe('forever/monitor/fork').addBatch({
"When using forever": {
"and spawning a script that uses `process.send()`": {
topic: function () {
var script = path.join(__dirname, '..', 'examples', 'process-send.js'),
var script = path.join(__dirname, '..', '..', 'examples', 'process-send.js'),
child = new (forever.Monitor)(script, { silent: false, minUptime: 2000, max: 1, fork: true });

child.on('message', this.callback.bind(null, null));
Expand Down

0 comments on commit 49de211

Please sign in to comment.