diff options
author | Pawel Chojnacki <pawel@chojnacki.ws> | 2018-01-16 15:47:07 +0100 |
---|---|---|
committer | Pawel Chojnacki <pawel@chojnacki.ws> | 2018-01-29 15:13:03 +0100 |
commit | 66c1acba0bada535cedcdc4d8e62ff966b4d0374 (patch) | |
tree | 03b6f1e0e1d747038152514278c55404dcd2e846 /spec | |
parent | 53f818fdac35d1c0810faa81a8dde20bbf8a3697 (diff) | |
download | gitlab-ce-66c1acba0bada535cedcdc4d8e62ff966b4d0374.tar.gz |
Fix code after refactoring
Diffstat (limited to 'spec')
-rw-r--r-- | spec/lib/gitlab/metrics/method_call_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/lib/gitlab/metrics/method_call_spec.rb b/spec/lib/gitlab/metrics/method_call_spec.rb index fcdd456613c..e3e594a75e4 100644 --- a/spec/lib/gitlab/metrics/method_call_spec.rb +++ b/spec/lib/gitlab/metrics/method_call_spec.rb @@ -6,7 +6,7 @@ describe Gitlab::Metrics::MethodCall do describe '#measure' do before do - described_class.reload_gitlab_method_call_duration_seconds! + described_class.reload_metric!(:gitlab_method_call_duration_seconds) end it 'measures the performance of the supplied block' do |