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 2012/08/14 23:47:25 UTC
[6/6] git commit: CIMI tests: name is mandatory for CEP
CIMI tests: name is mandatory for CEP
Project: http://git-wip-us.apache.org/repos/asf/deltacloud/repo
Commit: http://git-wip-us.apache.org/repos/asf/deltacloud/commit/c2514586
Tree: http://git-wip-us.apache.org/repos/asf/deltacloud/tree/c2514586
Diff: http://git-wip-us.apache.org/repos/asf/deltacloud/diff/c2514586
Branch: refs/heads/master
Commit: c2514586066f7cffd2f548a11080722ea127e079
Parents: 49bcff7
Author: David Lutterkort <lu...@redhat.com>
Authored: Fri Aug 10 17:57:03 2012 -0700
Committer: David Lutterkort <lu...@redhat.com>
Committed: Tue Aug 14 14:44:18 2012 -0700
----------------------------------------------------------------------
tests/cimi/cep_test.rb | 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/deltacloud/blob/c2514586/tests/cimi/cep_test.rb
----------------------------------------------------------------------
diff --git a/tests/cimi/cep_test.rb b/tests/cimi/cep_test.rb
index 04a45cc..8db3986 100644
--- a/tests/cimi/cep_test.rb
+++ b/tests/cimi/cep_test.rb
@@ -42,6 +42,10 @@ describe "CIMI Entry Point" do
it "should have a baseURI" do
(res.xml/"CloudEntryPoint/baseURI").text.must_be_uri
end
+
+ it "should have a name" do
+ (res.xml/"CloudEntryPoint/name").wont_be_empty
+ end
end
describe "JSON form" do
@@ -60,5 +64,9 @@ describe "CIMI Entry Point" do
it "should have a baseURI" do
res.json["baseURI"].must_be_uri
end
+
+ it "should have a name" do
+ res.json["name"].wont_be_empty
+ end
end
end