@ -75,7 +75,7 @@ describe('Topic\'s', function() {
it('should fail to create new topic with non-existant category id', function(done) {
topics.post({uid: topic.userId, title: topic.title, content: topic.content, cid: 99}, function(err, result) {
assert.equal(err, '[[error:no-category]]', 'received no error');
assert.equal(err.message, '[[error:no-category]]', 'received no error');
done();
});