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:
parent
f21ea265fe
commit
c84f80b171
1 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue