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

Fix mock to return integer value for count.

This commit is contained in:
Rupak Ganguly 2012-03-30 17:43:33 -04:00
parent 15ad2d96a2
commit 8dea8a4523

View file

@ -48,7 +48,7 @@ module Fog
end
data = {
'name' => key,
'count' => container['Object-Count'],
'count' => container['Object-Count'].to_i,
'bytes' => container['Content-Length'].to_i
}
data