diff options
Diffstat (limited to 'spec/initializers/zz_metrics_spec.rb')
-rw-r--r-- | spec/initializers/zz_metrics_spec.rb | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/spec/initializers/zz_metrics_spec.rb b/spec/initializers/zz_metrics_spec.rb deleted file mode 100644 index ad93c30ee22..00000000000 --- a/spec/initializers/zz_metrics_spec.rb +++ /dev/null @@ -1,20 +0,0 @@ -# frozen_string_literal: true - -require 'spec_helper' - -RSpec.describe 'instrument_classes' do - let(:config) { double(:config) } - - before do - allow(config).to receive(:instrument_method) - allow(config).to receive(:instrument_methods) - allow(config).to receive(:instrument_instance_method) - allow(config).to receive(:instrument_instance_methods) - allow(Gitlab::Application).to receive(:configure) - end - - it 'can autoload and instrument all files' do - require_relative '../../config/initializers/zz_metrics' - expect { instrument_classes(config) }.not_to raise_error - end -end |