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

[rackspace|storage] updated metadata class to decode incoming header values using FOG::JSON

This commit is contained in:
Kyle Rames 2013-02-13 14:54:56 -06:00
parent fc0e5c6f04
commit db5039d51a

View file

@ -51,7 +51,7 @@ Shindo.tests('Fog::Rackspace::Storage | directory', ['rackspace']) do
returns(true) { dir.metadata[:list_test] }
end
tests("should reload metadata after calling reload").returns("42") do
tests("should reload metadata after calling reload").returns(42) do
@service.put_container @instance.key, "X-Container-Meta-Answer" => 42
@instance.reload
@instance.metadata[:answer]