-
-
Notifications
You must be signed in to change notification settings - Fork 90
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
Add tests for userId being available in client functions and server methods #9
Comments
Hi @matb33, what would you like done so we can merge the |
I simply haven't had the time -- overwhelmed with work at the moment. I quickly merged to master, let me know if you encounter any issues |
Probably fine for now. The tests that I wrote test for |
Closing this, when we re-implement this functionality in the new version, we'll deal with this stuff again in a different context anyway |
I like the new changes a lot and I think it may even call for a bump in the major version number :)
However, we are missing a few tests which were basically in the coffeescript file I had before. We should test that userId loads properly on client hooks (it didn't prior to this version) and also inside Meteor methods. You can add these to your existing test files as you see fit, but I have the same functionality inside
client_server_userId_tests.coffee
Once that's done, it's probably time for a merge into
master
andmrt release
!Also, when running the current tests, this strange error appears in the server console as a result of calling the publish callback:
The text was updated successfully, but these errors were encountered: