diff --git a/tests/topics.js b/tests/topics.js index 16bc92ee32..063451cc3e 100644 --- a/tests/topics.js +++ b/tests/topics.js @@ -62,18 +62,14 @@ describe('Topic\'s', function() { }); describe('.getTopicData', function() { - it('should get Topic data', function(done) { - Topics.getTopicData(newTopic.tid, function(err, result) { - done.apply(this.arguments); - }); + it('should not receive errors', function(done) { + Topics.getTopicData(newTopic.tid, done); }); }); describe('.getTopicDataWithUser', function() { - it('should get Topic data with user info', function(done) { - Topics.getTopicDataWithUser(newTopic.tid, function(err, result) { - done.apply(this.arguments); - }); + it('should not receive errors', function(done) { + Topics.getTopicDataWithUser(newTopic.tid, done); }); }); });