diff --git a/spec/google/api_client/discovery_spec.rb b/spec/google/api_client/discovery_spec.rb index 30abbfff0..6f34b86ee 100644 --- a/spec/google/api_client/discovery_spec.rb +++ b/spec/google/api_client/discovery_spec.rb @@ -30,7 +30,7 @@ require 'google/api_client' require 'google/api_client/version' describe Google::APIClient do - CLIENT ||= Google::APIClient.new + CLIENT = Google::APIClient.new unless defined?(CLIENT) after do # Reset client to not-quite-pristine state