diff options
author | Pawel Chojnacki <pawel@chojnacki.ws> | 2017-12-13 18:43:08 +0100 |
---|---|---|
committer | Pawel Chojnacki <pawel@chojnacki.ws> | 2017-12-13 18:43:08 +0100 |
commit | db9e5bf75e8546649ddd65a5696ff4edb87ded20 (patch) | |
tree | 82a5d00b9ce71ce5ec4b97c0ff316df491fae4f8 | |
parent | 51668d3e1faa448ceecf5457db552c89314c9dbe (diff) | |
download | gitlab-ce-db9e5bf75e8546649ddd65a5696ff4edb87ded20.tar.gz |
fix test case description
-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 c11da42ed29..78767d06462 100644 --- a/spec/lib/gitlab/metrics/method_call_spec.rb +++ b/spec/lib/gitlab/metrics/method_call_spec.rb @@ -39,7 +39,7 @@ describe Gitlab::Metrics::MethodCall do expect(Feature.get(:prometheus_metrics_method_instrumentation)).to have_received(:enabled?).once end - it 'expires feature check cache after 30 seconds' do + it 'expires feature check cache after 1 minute' do method_call.measure { 'foo' } Timecop.travel(1.minute.from_now) do |