From 6bf4cdef8a60cf936bf0d09ecac47d4cee8f5b7a Mon Sep 17 00:00:00 2001 From: harryadel Date: Fri, 28 Jan 2022 23:08:34 +0200 Subject: [PATCH] Update methods section --- guide/source/testing.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/guide/source/testing.md b/guide/source/testing.md index cb8e7965dee..18976332e0c 100644 --- a/guide/source/testing.md +++ b/guide/source/testing.md @@ -508,7 +508,7 @@ Note that user documents – ones that you would normally query with `Meteor.use

Testing methods

-Given these methods: +We can also access methods using `Meteor.server.method_handlers` and apply the same principles. Take note of how we can use `sinon.fake()` to mock `this.unblock()`. ```js Meteor.methods({ @@ -636,6 +636,7 @@ describe('notes', function () { ``` +These examples are heavily inspired by [Andrew Mead example app](https://github.com/andrewjmead/notes-meteor-course).

Integration testing