spec/poolparty/base_packages/heartbeat_spec.rb in auser-poolparty-1.0.0 vs spec/poolparty/base_packages/heartbeat_spec.rb in auser-poolparty-1.1.1

- old
+ new

@@ -1,30 +1,7 @@ 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 + it "should have the heartbeat package defined" do + lambda {PoolpartyBaseHeartbeatClass}.should_not raise_error + end end \ No newline at end of file