Meteor.methodMap.addUser('asd@asd.asd', 'asdasd', 'John', 'Doe', 'not yet', '070-111 22 33', 'ididididid', 'admin', 'info admin john', 0);expect(spyEvent).toHaveBeenCalled();expect(spyEvent).toHaveBeenCalledWith('asd@asd.asd', 'asdasd', 'John', 'Doe', 'not yet', '070-111 22 33', 'ididididid', 'admin', 'info admin john', 0);});});})();
Upsert is missing in the mock. I will add it later. https://github.com/alanning/meteor-stubs/blob/master/index.js
You can just add an empty function before spying on it as a workaround.
Gruß
Jonas Aschenbrenner
--
You received this message because you are subscribed to a topic in the Google Groups "meteor-talk" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/meteor-talk/CKH04KVSvWw/unsubscribe.
To unsubscribe from this group and all its topics, send an email to meteor-talk...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.