deltacloud-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lut...@apache.org
Subject [1/2] git commit: Tests - Deltacloud blackbox - fixing cleanup conditional statement
Date Tue, 26 Feb 2013 01:51:05 GMT
Tests - Deltacloud blackbox - fixing cleanup conditional statement

TrackedAt: http://tracker.deltacloud.org/patch/38b2f9ba8af60af607ffae5c9cd607978c8cb640


Project: http://git-wip-us.apache.org/repos/asf/deltacloud/repo
Commit: http://git-wip-us.apache.org/repos/asf/deltacloud/commit/d536f252
Tree: http://git-wip-us.apache.org/repos/asf/deltacloud/tree/d536f252
Diff: http://git-wip-us.apache.org/repos/asf/deltacloud/diff/d536f252

Branch: refs/heads/master
Commit: d536f252b3bc2dab9bdb38a2f6ce590fdc2fdeee
Parents: 256e9ad
Author: Ronelle Landy <rlandy@redhat.com>
Authored: Mon Feb 25 17:37:23 2013 -0500
Committer: David Lutterkort <lutter@redhat.com>
Committed: Mon Feb 25 17:50:27 2013 -0800

----------------------------------------------------------------------
 tests/deltacloud/buckets_test.rb |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/deltacloud/blob/d536f252/tests/deltacloud/buckets_test.rb
----------------------------------------------------------------------
diff --git a/tests/deltacloud/buckets_test.rb b/tests/deltacloud/buckets_test.rb
index 02f517b..0e8c035 100644
--- a/tests/deltacloud/buckets_test.rb
+++ b/tests/deltacloud/buckets_test.rb
@@ -54,7 +54,7 @@ describe 'Deltacloud API buckets collection' do
 
   # delete the bucket/blob we created for the tests
   MiniTest::Unit.after_tests {
-    collection_supported :buckets
+    if collection_supported :buckets
       res = delete("/buckets/#{@@my_bucket}/#{@@my_blob}")
       unless res.code == 204
         raise Exception.new("Failed to delete blob #{@@my_blob}")


Mime
View raw message