deltacloud-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lut...@apache.org
Subject [2/9] git commit: CIMI tests: href on MachineConfig is now a proper attribute
Date Mon, 25 Feb 2013 19:23:01 GMT
CIMI tests: href on MachineConfig is now a proper attribute

Fixes a test failure


Project: http://git-wip-us.apache.org/repos/asf/deltacloud/repo
Commit: http://git-wip-us.apache.org/repos/asf/deltacloud/commit/8ea2b03e
Tree: http://git-wip-us.apache.org/repos/asf/deltacloud/tree/8ea2b03e
Diff: http://git-wip-us.apache.org/repos/asf/deltacloud/diff/8ea2b03e

Branch: refs/heads/master
Commit: 8ea2b03eb2d1521cd69c38aa54b614f56403d9dd
Parents: 2aea462
Author: David Lutterkort <lutter@redhat.com>
Authored: Fri Feb 22 14:00:57 2013 -0800
Committer: David Lutterkort <lutter@redhat.com>
Committed: Mon Feb 25 11:22:37 2013 -0800

----------------------------------------------------------------------
 tests/cimi/part3_test.rb |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/deltacloud/blob/8ea2b03e/tests/cimi/part3_test.rb
----------------------------------------------------------------------
diff --git a/tests/cimi/part3_test.rb b/tests/cimi/part3_test.rb
index 50e7aae..10243ec 100644
--- a/tests/cimi/part3_test.rb
+++ b/tests/cimi/part3_test.rb
@@ -67,11 +67,11 @@ class CreateNewMachineFromMachineTemplate < CIMI::Test::Spec
   end
 
   it "should have a machineConfig" do
-    machineTemplate.machine_config["href"].wont_be_empty
+    machineTemplate.machine_config.href.wont_be_empty
   end
 
   it "should have a machineImage" do
-    machineTemplate.machine_image["href"].wont_be_empty
+    machineTemplate.machine_image.href.wont_be_empty
   end
 
   it "allows creation of a machine from a template (step 3.3)",


Mime
View raw message