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 2013/02/26 02:51:05 UTC

[1/2] git commit: Tests - Deltacloud blackbox - fixing cleanup conditional statement

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 <rl...@redhat.com>
Authored: Mon Feb 25 17:37:23 2013 -0500
Committer: David Lutterkort <lu...@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}")