From 4a455743ea3e4d17772e8aa61128df2f99359fb3 Mon Sep 17 00:00:00 2001 From: Rupak Ganguly Date: Wed, 4 Apr 2012 19:36:07 -0400 Subject: [PATCH] Minor fix for mocks. --- lib/fog/hp/requests/compute/list_images_detail.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/fog/hp/requests/compute/list_images_detail.rb b/lib/fog/hp/requests/compute/list_images_detail.rb index 842fdcb2a..b70d38b12 100644 --- a/lib/fog/hp/requests/compute/list_images_detail.rb +++ b/lib/fog/hp/requests/compute/list_images_detail.rb @@ -39,7 +39,7 @@ module Fog end response.status = [200, 203][rand(1)] - response.body = { 'images' => images.map {|image| image.reject {|key, value| !['id', 'name', 'status', 'updated'].include?(key)}} } + response.body = { 'images' => images.map {|image| image.reject {|key, value| !['id', 'name', 'links', 'metadata', 'progress' ,'status', 'created', 'updated'].include?(key)}} } response end