You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@deltacloud.apache.org by lu...@redhat.com on 2012/12/06 03:42:48 UTC
[PATCH 04/13] * tests/cimi/test_helper.rb (model_class): assert that resourceURI is set
From: David Lutterkort <lu...@redhat.com>
---
tests/cimi/test_helper.rb | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/tests/cimi/test_helper.rb b/tests/cimi/test_helper.rb
index 0d318bf..bb75f51 100644
--- a/tests/cimi/test_helper.rb
+++ b/tests/cimi/test_helper.rb
@@ -154,6 +154,7 @@ module CIMI::Test::Methods
resource = nil
ct = resp.headers[:content_type]
if ct == "application/json"
+ resp.json["resourceURI"].wont_be_nil
resource = resp.json["resourceURI"].split("/").last
elsif ct == "application/xml"
if resp.xml.root.name == "Collection"
--
1.7.7.6