Commit 185d78bc authored by Yorick Peterse's avatar Yorick Peterse

Added specs for Gitlab::Metrics::System.cpu_time

parent 16926a67
......@@ -26,4 +26,10 @@ describe Gitlab::Metrics::System do
end
end
end
describe '.cpu_time' do
it 'returns a Fixnum' do
expect(described_class.cpu_time).to be_an_instance_of(Fixnum)
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