[opennebula] added flavor tests

This commit is contained in:
Achim Ledermüller 2014-06-18 10:21:41 +02:00
parent 0b041e636e
commit 75f33a1809
2 changed files with 1 additions and 1 deletions

View File

@ -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

View File

@ -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