spec/poolparty/modules/cloud_resourcer_spec.rb in poolparty-0.2.18 vs spec/poolparty/modules/cloud_resourcer_spec.rb in poolparty-0.2.69

- old
+ new

@@ -71,11 +71,11 @@ end it "should have the keypair_path" do @tc.respond_to?(:keypair_path).should == true end it "should set the keypair to the Base.keypair_path" do - @tc.keypair_path.should =~ /#{File.expand_path(Base.base_keypair_path)}/ + @tc.keypair_path.should =~ /\.ec2\/rangerbob/ end it "should set the keypair to have the keypair set" do @tc.keypair.should =~ /rangerbob/ end it "should set it to the Base keypair_path and the keypair" do @@ -96,15 +96,15 @@ end it "should call configure with options" do @tc.should_receive(:configure).with(@testparent.options) end after do - @tc.set_parent(@testparent) + @tc.run_setup(@testparent) end end describe "parent's services" do before(:each) do - @tc.set_parent(@testparent) + @tc.run_setup(@testparent) end it "should set the parent" do @tc.parent.should == @testparent end it "should have one service set" do \ No newline at end of file