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

[ibm] Rename data -> body

This commit is contained in:
Decklin Foster 2012-02-28 19:01:59 -05:00
parent f21ea265fe
commit c84f80b171

View file

@ -62,9 +62,9 @@ Shindo.tests('Fog::Compute[:ibm] | server', ['ibm']) do
end
tests('Fog::Compute::IBM::Server#to_image') do
data = @server.to_image(:name => @server.name)
returns(@server.name) { data['name'] }
returns(true) { Fog::Compute[:ibm].delete_image(data['id']).body['success'] }
body = @server.to_image(:name => @server.name)
returns(@server.name) { body['name'] }
returns(true) { Fog::Compute[:ibm].delete_image(body['id']).body['success'] }
end
tests('Fog::Compute::IBM::Server#expire!') do