deltacloud-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mfoj...@apache.org
Subject svn commit: r1203696 - /incubator/deltacloud/trunk/server/spec/cimi/model/machine_image_spec.rb
Date Fri, 18 Nov 2011 15:28:50 GMT
Author: mfojtik
Date: Fri Nov 18 15:28:50 2011
New Revision: 1203696

URL: http://svn.apache.org/viewvc?rev=1203696&view=rev
Log:
CIMI: Fixed copy and paste typo in variable name

Modified:
    incubator/deltacloud/trunk/server/spec/cimi/model/machine_image_spec.rb

Modified: incubator/deltacloud/trunk/server/spec/cimi/model/machine_image_spec.rb
URL: http://svn.apache.org/viewvc/incubator/deltacloud/trunk/server/spec/cimi/model/machine_image_spec.rb?rev=1203696&r1=1203695&r2=1203696&view=diff
==============================================================================
--- incubator/deltacloud/trunk/server/spec/cimi/model/machine_image_spec.rb (original)
+++ incubator/deltacloud/trunk/server/spec/cimi/model/machine_image_spec.rb Fri Nov 18 15:28:50
2011
@@ -22,15 +22,15 @@ describe "MachineImage model" do
   end
 
   it "can be constructed from XML" do
-    conf = CIMI::Model::MachineImage.from_xml(@xml)
-    conf.should_not be_nil
-    should_serialize_from_xml! conf, @xml, @json
+    img = CIMI::Model::MachineImage.from_xml(@xml)
+    img.should_not be_nil
+    should_serialize_from_xml! img, @xml, @json
   end
 
   it "can be constructed from JSON" do
-    conf = CIMI::Model::MachineImage.from_json(@json)
-    conf.should_not be_nil
-    should_serialize_from_json! conf, @xml, @json
+    img = CIMI::Model::MachineImage.from_json(@json)
+    img.should_not be_nil
+    should_serialize_from_json! img, @xml, @json
   end
 
 end



Mime
View raw message