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/11/09 20:49:38 UTC
[2/9] git commit: CIMI tests (cep_test): explicitly retrieve each
collection
CIMI tests (cep_test): explicitly retrieve each collection
We need to make sure that what comes back is reasonable
Project: http://git-wip-us.apache.org/repos/asf/deltacloud/repo
Commit: http://git-wip-us.apache.org/repos/asf/deltacloud/commit/780a34a8
Tree: http://git-wip-us.apache.org/repos/asf/deltacloud/tree/780a34a8
Diff: http://git-wip-us.apache.org/repos/asf/deltacloud/diff/780a34a8
Branch: refs/heads/master
Commit: 780a34a835aa56e32fdb6f921230e5828517cbe2
Parents: dab4197
Author: David Lutterkort <lu...@redhat.com>
Authored: Thu Nov 8 17:12:30 2012 -0800
Committer: David Lutterkort <lu...@redhat.com>
Committed: Fri Nov 9 11:48:42 2012 -0800
----------------------------------------------------------------------
tests/cimi/cep_test.rb | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/deltacloud/blob/780a34a8/tests/cimi/cep_test.rb
----------------------------------------------------------------------
diff --git a/tests/cimi/cep_test.rb b/tests/cimi/cep_test.rb
index 364d9e5..42bb057 100644
--- a/tests/cimi/cep_test.rb
+++ b/tests/cimi/cep_test.rb
@@ -63,6 +63,8 @@ class CloundEntryPointBehavior < CIMI::Test::Spec
coll.must_respond_to :href, "#{root} collection"
unless coll.href.nil?
coll.href.must_be_uri "#{root} collection"
+ model = fetch(coll.href)
+ last_response.code.must_equal 200
end
end
end