Created
August 26, 2022 23:22
-
-
Save mpvosseller/84b0120c165549b50aec46bd2b43db6e to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require "rails_helper" | |
# https://mvaragnat.medium.com/rails-6-and-rspec-how-to-test-zeitwerk-mode-81782b6d3388 | |
describe "Zeitwerk" do | |
it "eager loads all files" do | |
# like running `bin/rails zeitwerk:check` | |
expect { Zeitwerk::Loader.eager_load_all }.not_to raise_error | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment