Add to {MyApp :: Application.eager_load! } as a setting for this file / package only. (Agreeing with @SterlingParamore above)
FYI: you need to put it in before{}, and not just in the body of the description, because otherwise it will happen whenever the file is downloaded (for example, even if you download this file, but target another specification with a tag, for example rspec spec --tag=focus).
config.eager_load = true test.rb config , Spring (, , ). , Spring, , https://github.com/rails/spring/issues/519, . *