mirror of
https://github.com/Retrospring/retrospring.git
synced 2025-02-13 21:33:20 +01:00
add spec that eager loads the application
This commit is contained in:
parent
6e54b4daba
commit
2a9111de61
1 changed files with 9 additions and 0 deletions
9
spec/integration/zeitwerk_compliance_spec.rb
Normal file
9
spec/integration/zeitwerk_compliance_spec.rb
Normal 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
|
Loading…
Reference in a new issue