Skip to content

Commit

Permalink
try
Browse files Browse the repository at this point in the history
  • Loading branch information
shubhangi-google committed Oct 3, 2024
1 parent 685277a commit 4e50db8
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions google-cloud-storage/acceptance/storage/universe_domain_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -34,14 +34,13 @@
let(:t) { Time.now.utc.iso8601.gsub ":", "-" }
let(:ud_bucket_name) { "ud-test-ruby-bucket-#{t}-#{SecureRandom.hex(4)}".downcase }


# after do
# ud_bucket = ud_storage.bucket ud_bucket_name
# if ud_bucket
# ud_bucket.files.all &:delete
# safe_gcs_execute { ud_bucket.delete }
# end
# end
after do
ud_bucket = ud_storage.bucket ud_bucket_name
if ud_bucket
ud_bucket.files.all &:delete
safe_gcs_execute { ud_bucket.delete }
end
end

it "creates a new bucket and uploads an object with universe_domain" do
# Create a bucket
Expand Down

0 comments on commit 4e50db8

Please sign in to comment.