mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
[cloudstack] tests, fix snapshot test
This commit is contained in:
parent
75ee64f172
commit
580e5e1329
1 changed files with 0 additions and 13 deletions
|
@ -3,19 +3,6 @@ def snapshot_tests(connection, params, mocks_implemented = true)
|
|||
if !Fog.mocking? || mocks_implemented
|
||||
@instance.wait_for { ready? }
|
||||
end
|
||||
|
||||
@volume = @instance.connection.volumes.create(params[:volumes_attributes])
|
||||
@volume.wait_for { ready? }
|
||||
|
||||
tests('create').succeeds do
|
||||
@instance.create :volume_id => @volume.id
|
||||
end
|
||||
|
||||
tests('destroy').succeeds do
|
||||
@instance.destroy
|
||||
end
|
||||
|
||||
@volume.destroy
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue