Commit 447ac5f9 authored by Aleksei Lipniagov's avatar Aleksei Lipniagov

Fix spec definitions

parent 97f411b7
...@@ -52,13 +52,13 @@ describe Gitlab::Metrics::System do ...@@ -52,13 +52,13 @@ describe Gitlab::Metrics::System do
end end
describe '.cpu_time' do describe '.cpu_time' do
it 'returns a Fixnum' do it 'returns a Float' do
expect(described_class.cpu_time).to be_an(Float) expect(described_class.cpu_time).to be_an(Float)
end end
end end
describe '.real_time' do describe '.real_time' do
it 'returns a Fixnum' do it 'returns a Float' do
expect(described_class.real_time).to be_an(Float) expect(described_class.real_time).to be_an(Float)
end end
end end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment