1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00

Minor fix for mocks.

This commit is contained in:
Rupak Ganguly 2012-04-04 19:36:07 -04:00
parent 79eadc437e
commit 4a455743ea

View file

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