diff --git a/ruby/spec/support/utilities.rb b/ruby/spec/support/utilities.rb index 5876e3583..778cc3dab 100644 --- a/ruby/spec/support/utilities.rb +++ b/ruby/spec/support/utilities.rb @@ -24,6 +24,6 @@ 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.delete_all + test_bucket.clear! end end \ No newline at end of file diff --git a/web/spec/support/utilities.rb b/web/spec/support/utilities.rb index 661bfe292..cbfe10d3d 100644 --- a/web/spec/support/utilities.rb +++ b/web/spec/support/utilities.rb @@ -37,7 +37,7 @@ def wipe_s3_test_bucket :secret_access_key => Rails.application.config.aws_secret_access_key) test_bucket = s3.buckets[JAMKAZAM_TESTING_BUCKET] if test_bucket.name == JAMKAZAM_TESTING_BUCKET - test_bucket.delete_all + test_bucket.clear! end end