From 580e5e13296f468e6ac8f4ec0589f1cff2ca8895 Mon Sep 17 00:00:00 2001 From: dm1try Date: Sat, 20 Apr 2013 23:04:06 +0300 Subject: [PATCH] [cloudstack] tests, fix snapshot test --- tests/cloudstack/compute/models/snapshot_tests.rb | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/tests/cloudstack/compute/models/snapshot_tests.rb b/tests/cloudstack/compute/models/snapshot_tests.rb index 30bc00727..dab7c86f5 100644 --- a/tests/cloudstack/compute/models/snapshot_tests.rb +++ b/tests/cloudstack/compute/models/snapshot_tests.rb @@ -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