spec/interceptors/monitoring/main_spec.rb in lhc-9.2.0 vs spec/interceptors/monitoring/main_spec.rb in lhc-9.3.0
- old
+ new
@@ -3,14 +3,12 @@
describe LHC::Monitoring do
let(:stub) { stub_request(:get, 'http://local.ch').to_return(status: 200, body: 'The Website') }
let(:endpoint_configuration) { LHC.config.endpoint(:local, 'http://local.ch') }
module Statsd
- def self.count(_path, _value)
- end
+ def self.count(_path, _value); end
- def self.timing(_path, _value)
- end
+ def self.timing(_path, _value); end
end
before(:each) do
LHC.config.interceptors = [LHC::Monitoring]
LHC::Monitoring.statsd = Statsd