Commit 5953f41b authored by Peter Leitzen's avatar Peter Leitzen

Add a warning about how to verify that specs are well-isolated

parent 4e01ef2b
...@@ -642,6 +642,11 @@ should either: ...@@ -642,6 +642,11 @@ should either:
It takes around one second to load tests that are using `fast_spec_helper` It takes around one second to load tests that are using `fast_spec_helper`
instead of 30+ seconds in case of a regular `spec_helper`. instead of 30+ seconds in case of a regular `spec_helper`.
WARNING:
To verify that code and its specs are well-isolated from Rails, run the spec
individually via `bin/rspec`. Don't use `bin/spring rspec` as it loads
`spec_helper` automatically.
### `subject` and `let` variables ### `subject` and `let` variables
The GitLab RSpec suite has made extensive use of `let`(along with its strict, non-lazy The GitLab RSpec suite has made extensive use of `let`(along with its strict, non-lazy
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment