1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00
fog--fog/tests/libvirt/requests/compute/define_domain_tests.rb
2012-04-05 09:07:24 +03:00

11 lines
318 B
Ruby

Shindo.tests("Fog::Compute[:libvirt] | define_domain request", 'libvirt') do
compute = Fog::Compute[:libvirt]
xml = compute.servers.new().to_xml
tests("Define Domain") do
response = compute.define_domain(xml)
test("should be a kind of Libvirt::Domain") { response.kind_of? Libvirt::Domain}
end
end