Skip to content

Commit

Permalink
[opennebula] added flavor tests
Browse files Browse the repository at this point in the history
  • Loading branch information
b0e committed May 7, 2015
1 parent 0b041e6 commit 75f33a1
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 1 addition & 0 deletions tests/opennebula/models/compute/flavor_tests.rb
Expand Up @@ -24,6 +24,7 @@
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
1 change: 0 additions & 1 deletion tests/opennebula/models/compute/flavors_tests.rb
Expand Up @@ -13,5 +13,4 @@
tests('by filter').succeeds { flavors.get_by_filter ({:name => "fogtest", :id => flavors.first.id }) }
end
end

end

0 comments on commit 75f33a1

Please sign in to comment.