Resolving constant redefinition warnings.
This commit is contained in:
parent
1ff1a8e355
commit
8d99b5b46c
|
@ -18,7 +18,7 @@ require 'google/api_client'
|
|||
require 'google/api_client/version'
|
||||
|
||||
describe Google::APIClient::BatchRequest do
|
||||
CLIENT = Google::APIClient.new
|
||||
CLIENT ||= Google::APIClient.new
|
||||
|
||||
after do
|
||||
# Reset client to not-quite-pristine state
|
||||
|
|
|
@ -29,7 +29,7 @@ require 'google/api_client'
|
|||
require 'google/api_client/version'
|
||||
|
||||
describe Google::APIClient do
|
||||
CLIENT = Google::APIClient.new
|
||||
CLIENT ||= Google::APIClient.new
|
||||
|
||||
after do
|
||||
# Reset client to not-quite-pristine state
|
||||
|
|
|
@ -58,7 +58,7 @@ describe Google::APIClient::UploadIO do
|
|||
end
|
||||
|
||||
describe Google::APIClient::ResumableUpload do
|
||||
CLIENT = Google::APIClient.new
|
||||
CLIENT ||= Google::APIClient.new
|
||||
|
||||
after do
|
||||
# Reset client to not-quite-pristine state
|
||||
|
|
|
@ -18,7 +18,7 @@ require 'google/api_client'
|
|||
require 'google/api_client/version'
|
||||
|
||||
describe Google::APIClient::Result do
|
||||
CLIENT = Google::APIClient.new
|
||||
CLIENT ||= Google::APIClient.new
|
||||
|
||||
describe 'with the plus API' do
|
||||
before do
|
||||
|
|
Loading…
Reference in New Issue