spec/google/api_client/media_spec.rb in google-api-client-0.5.0 vs spec/google/api_client/media_spec.rb in google-api-client-0.6.0
- old
+ new
@@ -56,10 +56,10 @@
end
end
end
describe Google::APIClient::ResumableUpload do
- CLIENT ||= Google::APIClient.new
+ CLIENT = Google::APIClient.new(:application_name => 'API Client Tests') unless defined?(CLIENT)
after do
# Reset client to not-quite-pristine state
CLIENT.key = nil
CLIENT.user_ip = nil