From: David Lutterkort <[email protected]>
---
tests/cimi/cep_test.rb | 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)
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
--
1.7.7.6