1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00
fog--fog/tests/fogdocker/compute_tests.rb
2014-10-13 16:25:14 +01:00

17 lines
599 B
Ruby

Shindo.tests('Fog::Compute[:fogdocker]', ['fogdocker']) do
compute = Fog::Compute[:fogdocker]
tests("Compute collections") do
%w{ servers images }.each do |collection|
test("it should respond to #{collection}") { compute.respond_to? collection }
end
end
tests("Compute requests") do
%w{ api_version container_all container_create container_delete container_get
container_action image_all image_create image_delete image_get image_search }.each do |collection|
test("it should respond to #{collection}") { compute.respond_to? collection }
end
end
end