Sha256: 98593d70676dec26ddad47b79f1b25a636b1f5330455e9a3a396d145a022d2f4
Contents?: true
Size: 291 Bytes
Versions: 1
Compression:
Stored size: 291 Bytes
Contents
require 'spec_helper' describe ServState::CpuUsage do let(:instance){ ServState::CpuUsage.new } it 'should has 0 usage at start' do expect(instance.usage).to eq(0) end it 'should has right value' do instance.update expect(instance.usage).to be_between(0, 100) end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
ServState-0.1.3 | spec/unit/cpu_usage_spec.rb |