mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
[brightbox] Test update of reverse DNS for CIP
This commit is contained in:
parent
254123791b
commit
3ce68e47d1
1 changed files with 8 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue