Using Gagarin’s DDP Client to test Meteor methods, publications and subscriptions
johncrisostomo
3
That’s correct, you have to pass the arguments as an array because it uses JavaScript’s .apply in the background.
Just make sure that you have inserted some fixture data in the collection that you are publishing, and make sure that there will be document that matches your search term.