WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently the example group modules for all spec types are always
loaded, regardless of which type of spec is being run. Some of those
modules force parts of the user's application to load; for example,
RSpec::Rails::HelperExampleGroup includes ActionView::TestCase::Behavior
and loading ActionView::TestCase loads all of the application's helpers.
By autoloading these modules and including them lazily the first time
the corresponding spec type is defined, we can avoid loading parts of
the user's application unnecessarily.
Co-authored-by: Iliana Hadzhiatanasova <[email protected]>
0 commit comments