deltacloud-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lut...@apache.org
Subject [2/9] git commit: CIMI tests (cep_test): explicitly retrieve each collection
Date Fri, 09 Nov 2012 19:49:38 GMT
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 <lutter@redhat.com>
Authored: Thu Nov 8 17:12:30 2012 -0800
Committer: David Lutterkort <lutter@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


Mime
View raw message