From 762850876b11308adec4cf10f80a25ef919a79a2 Mon Sep 17 00:00:00 2001 From: Eeshan Garg Date: Sat, 13 May 2017 20:22:40 -0230 Subject: [PATCH] integration-guide: Replace references to old style fixture names. The integration-guide has now been updated to reflect the recent decision to rename webhook fixtures from /fixtures/_.json to /fixtures/.json. --- docs/integration-guide.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/integration-guide.md b/docs/integration-guide.md index 40f49d160a..9e27ec9a4c 100644 --- a/docs/integration-guide.md +++ b/docs/integration-guide.md @@ -153,7 +153,7 @@ for a webhook named 'MyWebHook'. integration for use in the user interface. You can add as many images as needed to effectively document your webhook integration. See [Documenting your integration](#documenting-your-integration) for details. -* `zerver/webhooks/mywebhook/fixtures/mywebhook_messagetype.json`: Sample json payload data +* `zerver/webhooks/mywebhook/fixtures/messagetype.json`: Sample json payload data used by tests. Add one fixture file per type of message supported by your integration. See [Testing and writing tests](testing.html) for details. * `zerver/webhooks/mywebhook/__init__.py`: Empty file that is obligatory @@ -241,7 +241,7 @@ Usually, this involves a few steps: ``` ./manage.py send_webhook_fixture_message \ - --fixture=zerver/webhooks/pingdom/fixtures/pingdom_imap_down_to_up.json \ + --fixture=zerver/webhooks/pingdom/fixtures/imap_down_to_up.json \ '--url=/api/v1/external/pingdom?stream=stream_name&api_key=api_key' ```