diff options
author | Pawel Chojnacki <pawel@chojnacki.ws> | 2017-12-12 18:12:49 +0100 |
---|---|---|
committer | Pawel Chojnacki <pawel@chojnacki.ws> | 2017-12-12 18:12:49 +0100 |
commit | a8ebed6016726722a2283458e4176fc9177558af (patch) | |
tree | 74b98a9f79e6de5dbbb7e4d5cee84d1aa46a7ca6 /spec | |
parent | b02db1f4931060d9e28bd0d651dbea34c79340e2 (diff) | |
download | gitlab-ce-a8ebed6016726722a2283458e4176fc9177558af.tar.gz |
Make `System.monotonic_time` retun seconds represented by float with microsecond precision
Diffstat (limited to 'spec')
-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 4d94d8705fb..ea3bd00970e 100644 --- a/spec/lib/gitlab/metrics/system_spec.rb +++ b/spec/lib/gitlab/metrics/system_spec.rb @@ -40,8 +40,8 @@ describe Gitlab::Metrics::System do end describe '.monotonic_time' do - it 'returns a Fixnum' do - expect(described_class.monotonic_time).to be_an(Integer) + it 'returns a Float' do + expect(described_class.monotonic_time).to be_an(Float) end end end |