1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00
fog--fog/tests/ibm/requests/compute/vlan_tests.rb

21 lines
362 B
Ruby

Shindo.tests('Fog::Compute[:ibm] | location requests', ['ibm']) do
@vlan_format = {
'id' => String,
'name' => String,
'location' => String,
}
@vlans_format = {
'vlan' => [ @vlan_format ]
}
tests('success') do
tests("#list_vlans").formats(@vlans_format) do
Fog::Compute[:ibm].list_vlans.body
end
end
end