This commit is contained in:
Anthony Davis 2014-01-08 07:04:23 -06:00
parent bc4223be22
commit fedea2cdc3
1 changed files with 5 additions and 1 deletions

View File

@ -24,6 +24,10 @@ def wipe_s3_test_bucket
:secret_access_key => test_config.aws_secret_access_key)
test_bucket = s3.buckets[JAMKAZAM_TESTING_BUCKET]
if test_bucket.name == JAMKAZAM_TESTING_BUCKET
test_bucket.clear!
puts "test_bucket name = #{test_bucket.name}"
test_bucket.acl.grants each do |grant|
puts "test_bucket ACL grant: #{grant.to_s}"
end
#test_bucket.clear!
end
end