tests/openstack/requests/compute/address_tests.rb in fog-maestrodev-1.8.0.20130114204828 vs tests/openstack/requests/compute/address_tests.rb in fog-maestrodev-1.14.0.20130806165225

- old
+ new

@@ -10,10 +10,14 @@ "fixed_ip" => NilClass, "id" => Integer, "pool" => String } + @address_pools_format = { + "name" => String + } + tests('success') do tests('#allocate_address').formats({"floating_ip" => @address_format}) do data = compute.allocate_address.body @address_id = data['floating_ip']['id'] @@ -27,9 +31,13 @@ tests('#get_address(address_id)').formats({"floating_ip" => @address_format}) do compute.get_address(@address_id).body end + tests('#list_address_pools').formats({"floating_ip_pools" => [@address_pools_format]}) do + compute.list_address_pools.body + end + compute.servers.get(@server_id).wait_for { ready? } tests('#associate_address(server_id, ip_address)').succeeds do compute.associate_address(@server_id, @address_ip).body end