Sha256: ad715c53037cb6a2490d3801be46472e1b45ea0c09d349595695b8c3cc6f197a
Contents?: true
Size: 386 Bytes
Versions: 55
Compression:
Stored size: 386 Bytes
Contents
require File.dirname(__FILE__) + '/../../spec_helper' include PoolParty::Monitors describe "CpuMonitor" do before(:each) do @mon = CpuMonitor.new end it "should have the singleton method run defined" do CpuMonitor.respond_to?(:run).should == true end it "should call the method new" do CpuMonitor.should_receive(:new).and_return @mon CpuMonitor.run end end
Version data entries
55 entries across 55 versions & 2 rubygems