summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc/development/testing.md2
1 files changed, 0 insertions, 2 deletions
diff --git a/doc/development/testing.md b/doc/development/testing.md
index 6d8b846d27f..47df081ebc3 100644
--- a/doc/development/testing.md
+++ b/doc/development/testing.md
@@ -216,8 +216,6 @@ so we need to set some guidelines for their use going forward:
- `let` variables are preferable to instance variables. Local variables are
preferable to `let` variables.
- Use `let` to reduce duplication throughout an entire spec file.
-- Don't use `let` to define variables used by a single test; define them as
- local variables inside the test's `it` block.
- Don't define a `let` variable inside the top-level `describe` block that's
only used in a more deeply-nested `context` or `describe` block. Keep the
definition as close as possible to where it's used.