From: Ronelle Landy <[email protected]>
---
tests/deltacloud/buckets_test.rb | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
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}")
--
1.7.7.6