FOSS job failure with unintialized constant `uninitialized constant Gitlab::Throttle` in `spec/lib/gitlab/throttle_spec.rb:5`
An error occurred while loading ./spec/lib/gitlab/throttle_spec.rb.
Failure/Error:
describe Gitlab::Throttle do
describe '.protected_paths_enabled?' do
subject { described_class.protected_paths_enabled? }
it 'returns Application Settings throttle_protected_paths_enabled?' do
expect(Gitlab::CurrentSettings.current_application_settings).to receive(:throttle_protected_paths_enabled?)
subject
end
end
NameError:
uninitialized constant Gitlab::Throttle
Did you mean? ThrottledTouch
# ./spec/lib/gitlab/throttle_spec.rb:5:in `<top (required)>'