Skip to content
This repository was archived by the owner on Nov 30, 2024. It is now read-only.

Commit 6b67068

Browse files
committed
Merge pull request #1495 from rspec/spec-helper-doc
Remove reference to loading rails in spec helper documentation.
2 parents b691a41 + d3e94bd commit 6b67068

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

lib/rspec/core/project_initializer/spec_helper.rb

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,10 @@
55
#
66
# Given that it is always loaded, you are encouraged to keep this file as
77
# light-weight as possible. Requiring heavyweight dependencies from this file
8-
# (such as loading up an entire rails app) will add to the boot time of your
9-
# test suite on EVERY test run, even for an individual file that may not need
10-
# all of that loaded.
8+
# will add to the boot time of your test suite on EVERY test run, even for an
9+
# individual file that may not need all of that loaded. Instead, make a
10+
# separate helper file that requires this one and then use it only in the specs
11+
# that actually need it.
1112
#
1213
# The `.rspec` file also contains a few flags that are not defaults but that
1314
# users commonly want.

0 commit comments

Comments
 (0)