test/lib/poolparty/cloud_test.rb in auser-poolparty-1.3.10 vs test/lib/poolparty/cloud_test.rb in auser-poolparty-1.3.11
- old
+ new
@@ -132,11 +132,10 @@
end
assert_equal 1922, clouds["babity"].ssh_port
assert_equal 22, clouds["noneity"].ssh_port
end
-
def test_children_getting_parent_options
clear!
pool "outside" do
minimum_instances 1
maximum_instances 10
@@ -181,7 +180,13 @@
end
assert_equal 1, clouds["app_cloud"].monitors.size
clouds["app_cloud"].compile
+
+ compile_dir = clouds["app_cloud"].tmp_path/"etc"/"chef"/"cookbooks"/"poolparty"
+ recipe_file = compile_dir/"recipes"/"default.rb"
+ recipe_contents = open(recipe_file).read
+
+ assert_match /install hermes/, recipe_contents
end
end
\ No newline at end of file