Files
metasploit-gs/spec/zeitwerk_compliance_spec.rb
T

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

15 lines
415 B
Ruby
Raw Normal View History

# frozen_string_literal: true
require 'spec_helper'
# https://github.com/rails/rails/blob/0fec9536ca43e209064e60f48b0def6bfe539fe2/guides/source/classic_to_zeitwerk_howto.md#rspec
RSpec.describe 'ZeitwerkCompliance' do
it 'loads all files without errors' do
expect do
# Ensure we've configured zeitwerk
require 'msfenv'
Zeitwerk::Loader.eager_load_all
end.not_to raise_error
end
end