Fixed as per your comments.


On Sun, Apr 6, 2014 at 9:45 PM, Arjun Variar <notifications@github.com>wrote:

> In tests/ResponseHandlerFactory.js:
>
> > +	it("should return DefaultResponseHandler by default", function() {
> > +		var handler = this.factory.createResponseHandler({});
> > +		assert.equal(handler, DefaultResponseHandler);
> > +	});
> > +
> > +	it("should return false when passed an non-existent module", function() {
> > +		var handler = this.factory.createResponseHandler({responseHandler: "nonExistentModule"});
> > +		assert(!handler);
> > +	});
> > +
> > +	it("should return correct module when passed existing module", function() {
> > +		var handler = this.factory.createResponseHandler({responseHandler: "DefaultResponseHandler.js"});
> > +		assert(handler);
> > +	});
> > +
> > +	afterEach(function() {
>
> cleanup the factory
>
> --
> Reply to this email directly or view it on GitHub<https://github.com/a85/Newman/pull/21/files#r11327400>
> .
>



-- 

*Prakhar Srivastav*
*http://prakhar.me/ <http://prakhar.me/>*