1
0
Fork 0
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:
dm1try 2013-04-20 23:04:06 +03:00
parent 75ee64f172
commit 580e5e1329

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