[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
1 changed files with 5 additions and 7 deletions

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