diff --git a/guides/source/testing.md b/guides/source/testing.md index 8a4a47950804953efe183b778a585eecafec865d..1b9af789c973e57510702e924788d9de03894954 100644 --- a/guides/source/testing.md +++ b/guides/source/testing.md @@ -1443,7 +1443,7 @@ You may find it convenient to eagerly require helpers in `test_helper.rb` so you ```ruby # test/test_helper.rb -Dir[Rails.root.join('lib', 'test', '**', '*.rb')].each { |file| require file } +Dir[Rails.root.join('test', 'test_helpers', '**', '*.rb')].each { |file| require file } ``` This has the downside of increasing the boot-up time, as opposed to manually requiring only the necessary files in your individual tests.