add spec that eager loads the application

This commit is contained in:
Georg Gadinger 2022-12-29 07:41:56 +01:00 committed by Andreas Nedbal
parent 6e54b4daba
commit 2a9111de61
1 changed files with 9 additions and 0 deletions

View File

@ -0,0 +1,9 @@
# frozen_string_literal: true
require "rails_helper"
describe "Zeitwerk compliance" do
it "eager loads all files without errors" do
expect { Rails.application.eager_load! }.not_to raise_error
end
end