diff options
author | Aleksei Lipniagov <alipniagov@gitlab.com> | 2019-06-28 16:27:02 +0300 |
---|---|---|
committer | Aleksei Lipniagov <alipniagov@gitlab.com> | 2019-06-28 16:27:02 +0300 |
commit | 447ac5f99f94511b5551492b7301ed914a19a66a (patch) | |
tree | 10d0b34b9f516ad85b071463467efd94d10f17b6 | |
parent | 97f411b7963ee239823f58ad171fa6794bc37b79 (diff) | |
download | gitlab-ce-447ac5f99f94511b5551492b7301ed914a19a66a.tar.gz |
Fix spec definitions63874-use-process-cpu-time-instead-of-thread-for-cpu-metrics
-rw-r--r-- | spec/lib/gitlab/metrics/system_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/lib/gitlab/metrics/system_spec.rb b/spec/lib/gitlab/metrics/system_spec.rb index b0603d96eb2..da87df15746 100644 --- a/spec/lib/gitlab/metrics/system_spec.rb +++ b/spec/lib/gitlab/metrics/system_spec.rb @@ -52,13 +52,13 @@ describe Gitlab::Metrics::System do end describe '.cpu_time' do - it 'returns a Fixnum' do + it 'returns a Float' do expect(described_class.cpu_time).to be_an(Float) end end describe '.real_time' do - it 'returns a Fixnum' do + it 'returns a Float' do expect(described_class.real_time).to be_an(Float) end end |