Skip to content

Commit

Permalink
Simplify minitest sample in autoloading guide
Browse files Browse the repository at this point in the history
  • Loading branch information
fxn committed Oct 18, 2021
1 parent e7b050d commit 1140f29
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions guides/source/classic_to_zeitwerk_howto.md
Expand Up @@ -317,11 +317,7 @@ require "test_helper"

class ZeitwerkComplianceTest < ActiveSupport::TestCase
test "eager loads all files without errors" do
Rails.application.eager_load!
rescue => e
flunk(e.message)
else
pass
assert_nothing_raised { Rails.application.eager_load! }
end
end
```
Expand Down

0 comments on commit 1140f29

Please sign in to comment.