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)
requires :directory
data = service.get_object(directory.key, key, &block)
file_data = {}
data.headers.each do |key, value|
file_data[key] = value
end
file_data.merge({
file_data = data.headers.merge({
:body => data.body,
:key => key
})