Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Astronomy save not work with Stub Collections #15

Open
bialesdaniel opened this issue Mar 3, 2017 · 1 comment
Open

Astronomy save not work with Stub Collections #15

bialesdaniel opened this issue Mar 3, 2017 · 1 comment

Comments

@bialesdaniel
Copy link

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.

@hwillson
Copy link
Owner

Any chance you could put together a small reproduction that demonstrates this issue? Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants