Open bialesdaniel opened 7 years ago
I am trying to test a Meteor method with StubCollections. I am using the Astronomy package and basically what I'm doing is
currentUser.userData.firstName = firstName; currentUser.userData.lastName = lastName; currentUser.save((err,id)=>{ if(err){ throw err; } console.log(id); });
When doing StubCollections.stub(Meteor.users); This save doesn't update any record.
StubCollections.stub(Meteor.users);
Any chance you could put together a small reproduction that demonstrates this issue? Thanks!
I am trying to test a Meteor method with StubCollections. I am using the Astronomy package and basically what I'm doing is
When doing
StubCollections.stub(Meteor.users);
This save doesn't update any record.