Commit cb8df09f authored by Yorick Peterse's avatar Yorick Peterse

Merge branch 'add-metrics-initializer-spec-ee' into 'master'

Add metric initializer spec

See merge request !1109
parents 1bf684f7 7e467d1c
This diff is collapsed.
require 'spec_helper'
require_relative '../../config/initializers/metrics'
describe 'instrument_classes', lib: true 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_methods)
end
it 'can autoload and instrument all files' do
expect { instrument_classes(config) }.not_to raise_error
end
end
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment