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:
parent
580e5e1329
commit
a88681b813
1 changed files with 5 additions and 7 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue