mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
[opennebula] added flavor tests
This commit is contained in:
parent
0b041e636e
commit
75f33a1809
2 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue