From c84f80b171f06b282fb92f33a9d39e89299199f9 Mon Sep 17 00:00:00 2001 From: Decklin Foster Date: Tue, 28 Feb 2012 19:01:59 -0500 Subject: [PATCH] [ibm] Rename data -> body --- tests/ibm/models/compute/server_tests.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/ibm/models/compute/server_tests.rb b/tests/ibm/models/compute/server_tests.rb index c3439397a..dc7a6ea99 100644 --- a/tests/ibm/models/compute/server_tests.rb +++ b/tests/ibm/models/compute/server_tests.rb @@ -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