fixed issue for server-side tests

This commit is contained in:
Theodor Diaconu 2017-03-02 11:46:07 +02:00
parent a65ee9fd4a
commit 66a86debd5

View file

@ -103,14 +103,12 @@ CategoryCollection.addLinks({
} }
}); });
Meteor.startup(() => { describe('Collection Links', function () {
PostCollection.remove({}); PostCollection.remove({});
CategoryCollection.remove({}); CategoryCollection.remove({});
CommentCollection.remove({}); CommentCollection.remove({});
ResolverCollection.remove({}); ResolverCollection.remove({});
});
describe('Collection Links', function () {
it('Test Many', function () { it('Test Many', function () {
let postId = PostCollection.insert({'text': 'abc'}); let postId = PostCollection.insert({'text': 'abc'});
let commentId = CommentCollection.insert({'text': 'abc'}); let commentId = CommentCollection.insert({'text': 'abc'});