mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
17 lines
439 B
Ruby
17 lines
439 B
Ruby
|
Shindo.tests('Fog::Compute[:opennebula]', ['opennebula']) do
|
||
|
|
||
|
compute = Fog::Compute[:opennebula]
|
||
|
|
||
|
tests("Compute collections") do
|
||
|
%w{networks}.each do |collection|
|
||
|
test("it should respond to #{collection}") { compute.respond_to? collection }
|
||
|
end
|
||
|
end
|
||
|
|
||
|
tests("Compute requests") do
|
||
|
%w{list_networks}.each do |request|
|
||
|
test("it should respond to #{request}") { compute.respond_to? request }
|
||
|
end
|
||
|
end
|
||
|
end
|