diff options
author | Pawel Chojnacki <pawel@chojnacki.ws> | 2018-01-17 02:49:23 +0100 |
---|---|---|
committer | Pawel Chojnacki <pawel@chojnacki.ws> | 2018-01-29 15:13:03 +0100 |
commit | 0325c23732b94bd26647d695ebda38b7077e3924 (patch) | |
tree | 403904481e17c2da4c8bf2445632864dc085f083 /spec | |
parent | 91a991367e7d5dfc1c3488ade3812635bd43531c (diff) | |
download | gitlab-ce-0325c23732b94bd26647d695ebda38b7077e3924.tar.gz |
Fix tests
Diffstat (limited to 'spec')
-rw-r--r-- | spec/lib/gitlab/metrics/subscribers/action_view_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/lib/gitlab/metrics/subscribers/action_view_spec.rb b/spec/lib/gitlab/metrics/subscribers/action_view_spec.rb index eca75a4fac1..9f3af1acef7 100644 --- a/spec/lib/gitlab/metrics/subscribers/action_view_spec.rb +++ b/spec/lib/gitlab/metrics/subscribers/action_view_spec.rb @@ -32,7 +32,7 @@ describe Gitlab::Metrics::Subscribers::ActionView do end it 'observes view rendering time' do - expect(subscriber.send(:metric_view_rendering_duration_seconds)) + expect(described_class.gitlab_view_rendering_duration_seconds) .to receive(:observe) .with({ view: 'app/views/x.html.haml' }, 2.1) |