Skip to content

Commit

Permalink
Removed console.log.
Browse files Browse the repository at this point in the history
  • Loading branch information
andymoon committed Mar 26, 2013
1 parent 9dfacd4 commit c43185e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions test/sns.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ it.describe("Make a call to the amazon sns",function (it) {
assert.equal(results.test, "test");
assert.equal(mockHttps.requestCount, 1);
})
}, console.log);
});

it.should("create topic", function () {
var assertOptions = function (options) {
Expand All @@ -90,7 +90,7 @@ it.describe("Make a call to the amazon sns",function (it) {
return snsClient.createTopic(testSearchOptions).then(function (results) {
assert.equal(results, "test");
assert.equal(mockHttps.requestCount, 1);
}, console.log)
})
});

it.should("delete topic", function () {
Expand Down
10 changes: 5 additions & 5 deletions test/sqs.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ it.describe("Make a call to the amazon sqs",function (it) {
var sqsClient = new aws.SQSClient(extd.merge(testSearchOptions, {http: mockHttp, https: mockHttps}));
return sqsClient.receiveMessages(testSearchOptions).then(function () {
assert.equal(mockHttps.requestCount, 1);
},console.log)
})
});

it.should("add permission", function () {
Expand All @@ -114,7 +114,7 @@ it.describe("Make a call to the amazon sqs",function (it) {
var sqsClient = new aws.SQSClient(extd.merge(testSearchOptions, {http: mockHttp, https: mockHttps}));
return sqsClient.addPermission(testSearchOptions, {accountId:"test", actionName: 'test'}).then(function () {
assert.equal(mockHttps.requestCount, 1);
},console.log)
})
});

it.should("remove permission", function () {
Expand All @@ -130,7 +130,7 @@ it.describe("Make a call to the amazon sqs",function (it) {
var sqsClient = new aws.SQSClient(extd.merge(testSearchOptions, {http: mockHttp, https: mockHttps}));
return sqsClient.removePermission(testSearchOptions).then(function () {
assert.equal(mockHttps.requestCount, 1);
},console.log)
})
});

it.should("send message", function () {
Expand All @@ -146,7 +146,7 @@ it.describe("Make a call to the amazon sqs",function (it) {
var sqsClient = new aws.SQSClient(extd.merge(testSearchOptions, {http: mockHttp, https: mockHttps}));
return sqsClient.sendMessage(testSearchOptions).then(function () {
assert.equal(mockHttps.requestCount, 1);
},console.log)
})
});

it.should("change message visibility", function () {
Expand All @@ -162,7 +162,7 @@ it.describe("Make a call to the amazon sqs",function (it) {
var sqsClient = new aws.SQSClient(extd.merge(testSearchOptions, {http: mockHttp, https: mockHttps}));
return sqsClient.changeMessageVisibility(testSearchOptions, 1).then(function () {
assert.equal(mockHttps.requestCount, 1);
},console.log)
})
});

}).as(module);

0 comments on commit c43185e

Please sign in to comment.