1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00

[cloudstack] tests, remove unreachable code in snapshot test, add testcase for volume relation

This commit is contained in:
dm1try 2013-04-20 23:39:06 +03:00
parent 580e5e1329
commit a88681b813

View file

@ -10,12 +10,10 @@ Shindo.tests("Fog::Compute[:cloudstack] | snapshot", "cloudstack") do
config = compute_providers[:cloudstack]
snapshot_tests(Fog::Compute[:cloudstack], config, config[:mocked]) do
if Fog.mocking? && !mocks_implemented
pending
else
responds_to(:ready?)
responds_to(:volume)
end
snapshot_tests(Fog::Compute[:cloudstack], config, config[:mocked])
tests('has volume relation') do
responds_to(:volume)
end
end