From: David Lutterkort <lut...@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