mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
ef9a9697ab
Done with `rubocop --auto-correct --only TrailingWhitespace`
13 lines
342 B
Ruby
13 lines
342 B
Ruby
Shindo.tests('Fog::Compute[:xenserver] | destroy_network request', ['xenserver']) do
|
|
|
|
compute = Fog::Compute[:xenserver]
|
|
|
|
tests('success') do
|
|
test('#destroy_network') do
|
|
@ref = compute.create_network 'test-net'
|
|
compute.destroy_network @ref
|
|
(compute.networks.find { |n| n.reference == @ref }).nil?
|
|
end
|
|
end
|
|
|
|
end
|