[opennebula] added flavor tests
This commit is contained in:
parent
0b041e636e
commit
75f33a1809
|
@ -24,6 +24,7 @@ Shindo.tests('Fog::Compute[:opennebula] | flavor model', ['opennebula']) do
|
|||
end
|
||||
end
|
||||
test('be a kind of Fog::Compute::OpenNebula::Flavor') { flavor.kind_of? Fog::Compute::OpenNebula::Flavor }
|
||||
test('have a nic in network fogtest') { flavor.nic[0].vnet.name == "fogtest" }
|
||||
end
|
||||
|
||||
end
|
||||
|
|
|
@ -13,5 +13,4 @@ Shindo.tests('Fog::Compute[:opennebula] | flavors collection', ['opennebula']) d
|
|||
tests('by filter').succeeds { flavors.get_by_filter ({:name => "fogtest", :id => flavors.first.id }) }
|
||||
end
|
||||
end
|
||||
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue