You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@deltacloud.apache.org by lu...@apache.org on 2013/02/25 20:23:01 UTC

[2/9] git commit: CIMI tests: href on MachineConfig is now a proper attribute

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 <lu...@redhat.com>
Authored: Fri Feb 22 14:00:57 2013 -0800
Committer: David Lutterkort <lu...@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)",