mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
fixing broken tests
This commit is contained in:
parent
280a26ece6
commit
eba093e38d
1 changed files with 2 additions and 2 deletions
|
@ -123,13 +123,13 @@ 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]
|
||||
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]
|
||||
|
|
Loading…
Reference in a new issue