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:
parent
79eadc437e
commit
4a455743ea
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue