[cloudstack] tests, fix snapshot test

This commit is contained in:
dm1try 2013-04-20 23:04:06 +03:00
parent 75ee64f172
commit 580e5e1329
1 changed files with 0 additions and 13 deletions

View File

@ -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