Skip to content

Commit

Permalink
removed some logging from tests
Browse files Browse the repository at this point in the history
  • Loading branch information
pgte committed Mar 28, 2012
1 parent 0b3c034 commit dcc9bd7
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions tests/test_intercept.js
Expand Up @@ -1304,7 +1304,6 @@ tap.test('clean all works', function(t) {

tap.test('username and password works', function(t) {
var scope = nock('http://passwordyy.com')
.log(console.log)
.get('/')
.reply(200, "Welcome, username");

Expand All @@ -1325,7 +1324,6 @@ tap.test('works with mikeal/request and username and password', function(t) {
.reply(200, "Welcome, username");

mikealRequest({uri: 'http://username:password@passwordyyyyy.com/abc', log:true}, function(err, res, body) {
console.log(err);
t.ok(! err, 'error');
t.ok(scope.isDone());
t.equal(body, "Welcome, username");
Expand All @@ -1336,7 +1334,6 @@ tap.test('works with mikeal/request and username and password', function(t) {

tap.test('different ports work works', function(t) {
var scope = nock('http://abc.portyyyy.com:8081')
.log(console.log)
.get('/pathhh')
.reply(200, "Welcome, username");

Expand All @@ -1352,12 +1349,10 @@ tap.test('different ports work works', function(t) {

tap.test('different ports work work with Mikeal request', function(t) {
var scope = nock('http://abc.portyyyy.com:8082')
.log(console.log)
.get('/pathhh')
.reply(200, "Welcome to Mikeal Request!");

mikealRequest.get('http://abc.portyyyy.com:8082/pathhh', function(err, res, body) {
console.log(err);
t.ok(! err, 'no error');
t.equal(body, 'Welcome to Mikeal Request!');
t.ok(scope.isDone());
Expand Down

0 comments on commit dcc9bd7

Please sign in to comment.