Sha256: 16f57e9039bf1e12a49385dedf533c53fc6ed6cdb22dcfd92b684fdb74b63230

Contents?: true

Size: 430 Bytes

Versions: 6

Compression:

Stored size: 430 Bytes

Contents

var util = require('util');
var EventEmitter = require('events').EventEmitter;
require('should');


function FakeStream() {
	EventEmitter.call(this);
	this.paused = false;
}

util.inherits(FakeStream, EventEmitter);

FakeStream.prototype.resume = function() {
	this.paused = false;
}

FakeStream.prototype.pause = function() {
	this.paused = true;
}

exports.FakeStream = FakeStream;


var Helper = {
};

exports.Helper = Helper;

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
passenger-4.0.27 test/node/spec_helper.js
passenger-4.0.26 test/node/spec_helper.js
passenger-4.0.25 test/node/spec_helper.js
passenger-4.0.24 test/node/spec_helper.js
passenger-4.0.23 test/node/spec_helper.js
passenger-4.0.21 test/node/spec_helper.js