Skip to content

Commit

Permalink
debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
shubhangi-google committed Jan 15, 2025
1 parent 460ed1b commit d922eff
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions google-cloud-storage/samples/acceptance/buckets_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@
require_relative "../storage_set_retention_policy"
require_relative "../storage_get_autoclass"
require_relative "../storage_set_autoclass"
require "pry"

describe "Buckets Snippets" do
let(:storage_client) { Google::Cloud::Storage.new }
Expand Down Expand Up @@ -127,9 +128,6 @@
it "get soft deleted bucket, its soft_delete_time and hard_delete_time" do
new_bucket = storage_client.create_bucket new_bucket_name
new_generation = new_bucket.generation
policy = bucket.policy
policy.add_binding(role: 'roles/storage.objectViewer', members: ["user:542339357638-cr0dserr2evg7sv1meghqeu703274f3h@developer.gserviceaccount.com"])

# Check if the bucket exist
assert(new_bucket.exists?, "Bucket #{new_bucket_name} should exist")
delete_bucket_helper new_bucket_name
Expand Down

0 comments on commit d922eff

Please sign in to comment.