From e2dc37c53eb35e3099cc33af5ae3ce1843449707 Mon Sep 17 00:00:00 2001 From: Yoom Lam Date: Tue, 16 Jul 2024 18:32:34 -0500 Subject: [PATCH] Fix writing-tests.md reference to enable_factory_create --- docs/app/writing-tests.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/app/writing-tests.md b/docs/app/writing-tests.md index 69f31bc9..458728f8 100644 --- a/docs/app/writing-tests.md +++ b/docs/app/writing-tests.md @@ -81,7 +81,7 @@ factories](https://factoryboy.readthedocs.io/en/stable/#using-factories), termed The build strategy is useful if the code under test just needs the data on the model and doesn't actually perform any database interactions. -In order to use the create strategy, pull in the `initialize_factories_session` +In order to use the create strategy, pull in the `enable_factory_create` fixture. Regardless of the strategy, you can override the values for attributes on the