Sha256: fba94c90358ba0b3cd86bbf5e6fcdb01f8a0105bd2427580a3e63acaa2f3337d
Contents?: true
Size: 1.03 KB
Versions: 73
Compression:
Stored size: 1.03 KB
Contents
require File.dirname(__FILE__) + '/../spec_helper' describe "heartbeat base package" do # before(:each) do # @cloud = Cloud.new(:app, self) # @hb = PoolPartyHeartbeatClass.new(@cloud) # stub_list_from_remote_for(@cloud) # stub_list_of_instances_for(@cloud) # end # it "should have the heartbeat package defined" do # lambda {PoolPartyHeartbeatClass}.should_not raise_error # end # it "should have a parent set to the cloud" do # @hb.parent.should == @cloud # end # it "should call enable (and setup resources) since there is no block given when it's instantiated" do # @hb.resources.should_not be_empty # end # it "should have no resources when starting with a block (that defines no methods)" do # @pphc = PoolPartyHeartbeatClass.new do # end # @pphc.resources.should be_empty # end # it "should have a file resource" do # @hb.resource(:remotefile).should_not be_empty # end # it "should have at least 3 remotefiles" do # @hb.resource(:remotefile).size.should >= 3 # end end
Version data entries
73 entries across 73 versions & 2 rubygems