spec/poolparty/poolparty/pool_spec.rb in fairchild-poolparty-1.1.5 vs spec/poolparty/poolparty/pool_spec.rb in fairchild-poolparty-1.2.12
- old
+ new
@@ -44,20 +44,16 @@
end
describe "configuration" do
before(:each) do
reset!
@pool = Pool.new :test do
- nick_nack "nails"
- rocky_shores "ranger"
+ expand_when "nails"
end
end
it "should set the plugin_directory to nails" do
- @pool.nick_nack.should == "nails"
+ @pool.expand_when.should == "nails"
end
- it "should set the rocky_shores to ranger" do
- @pool.rocky_shores.should == "ranger"
- end
describe "range for min/max instances" do
it "should be able to respond to instances" do
@pool.respond_to?(:instances).should == true
end
it "should be able to pass instances a range" do
@@ -90,11 +86,9 @@
end
end
it "should have 2 clouds in the pool when there are 2 described" do
@pool.clouds.size.should == 2
end
- it "should be able to tel the other clouds from within one cloud" do
- cloud(:app).other_clouds.should == [cloud(:db)]
- end
- end
+ end
+
end
end
\ No newline at end of file