diff --git a/tests/brightbox/requests/compute/cloud_ip_tests.rb b/tests/brightbox/requests/compute/cloud_ip_tests.rb index 8af9460a2..96e68ee1c 100644 --- a/tests/brightbox/requests/compute/cloud_ip_tests.rb +++ b/tests/brightbox/requests/compute/cloud_ip_tests.rb @@ -42,6 +42,14 @@ Shindo.tests('Fog::Compute[:brightbox] | cloud ip requests', ['brightbox']) do formats(Brightbox::Compute::Formats::Full::CLOUD_IP) { result } end + update_options = {:reverse_dns => "public.#{@server.id}.gb1.brightbox.com"} + tests("#update_cloud_ip('#{@cloud_ip_id}', #{update_options.inspect})") do + pending if Fog.mocking? + result = Fog::Compute[:brightbox].update_cloud_ip(@cloud_ip_id, update_options) + formats(Brightbox::Compute::Formats::Full::CLOUD_IP) { result } + result = Fog::Compute[:brightbox].update_cloud_ip(@cloud_ip_id, {:reverse_dns => ""}) + end + tests("#destroy_cloud_ip('#{@cloud_ip_id}')") do pending if Fog.mocking? result = Fog::Compute[:brightbox].destroy_cloud_ip(@cloud_ip_id)