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

[hp|storage] fix storage tests to use new excon headers stuff

This commit is contained in:
geemus 2014-08-15 09:28:30 -05:00
parent d93eebb9b8
commit 8d947b2a44

View file

@ -53,11 +53,7 @@ module Fog
def get(key, &block) def get(key, &block)
requires :directory requires :directory
data = service.get_object(directory.key, key, &block) data = service.get_object(directory.key, key, &block)
file_data = {} file_data = data.headers.merge({
data.headers.each do |key, value|
file_data[key] = value
end
file_data.merge({
:body => data.body, :body => data.body,
:key => key :key => key
}) })