From c15f0aea62bfb78afc741fbeea2a09eb20115160 Mon Sep 17 00:00:00 2001 From: Nat Welch Date: Fri, 11 Apr 2014 07:25:52 -0700 Subject: [PATCH] Lists disks isn't a valid test since response varies greatly by disk. --- tests/google/requests/compute/disk_tests.rb | 22 --------------------- 1 file changed, 22 deletions(-) diff --git a/tests/google/requests/compute/disk_tests.rb b/tests/google/requests/compute/disk_tests.rb index b2902bee1..d4aa3c576 100644 --- a/tests/google/requests/compute/disk_tests.rb +++ b/tests/google/requests/compute/disk_tests.rb @@ -46,24 +46,6 @@ Shindo.tests('Fog::Compute[:google] | disk requests', ['google']) do 'operationType' => String } - @list_disks_format = { - 'kind' => String, - 'id' => String, - 'selfLink' => String, - 'items' => [{ - 'kind'=> String, - 'id'=> String, - 'creationTimestamp'=>String, - 'selfLink'=>String, - 'name'=> String, - 'sizeGb'=> String, - 'zone'=> String, - 'sourceImageId' => String, - 'sourceImage' => String, - 'status'=>String, - }] - } - tests('success') do disk_name = 'new-disk-test' @@ -80,10 +62,6 @@ Shindo.tests('Fog::Compute[:google] | disk requests', ['google']) do @google.get_disk(disk_name, zone_name).body end - tests("#list_disks").formats(@list_disks_format) do - @google.list_disks(zone_name).body - end - tests("#delete_disk").formats(@delete_disk_format) do @google.delete_disk(disk_name, zone_name).body end