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'
|
require 'google/api_client/version'
|
||||||
|
|
||||||
describe Google::APIClient::BatchRequest do
|
describe Google::APIClient::BatchRequest do
|
||||||
CLIENT = Google::APIClient.new
|
CLIENT ||= Google::APIClient.new
|
||||||
|
|
||||||
after do
|
after do
|
||||||
# Reset client to not-quite-pristine state
|
# Reset client to not-quite-pristine state
|
||||||
|
|
|
@ -29,7 +29,7 @@ require 'google/api_client'
|
||||||
require 'google/api_client/version'
|
require 'google/api_client/version'
|
||||||
|
|
||||||
describe Google::APIClient do
|
describe Google::APIClient do
|
||||||
CLIENT = Google::APIClient.new
|
CLIENT ||= Google::APIClient.new
|
||||||
|
|
||||||
after do
|
after do
|
||||||
# Reset client to not-quite-pristine state
|
# Reset client to not-quite-pristine state
|
||||||
|
|
|
@ -58,7 +58,7 @@ describe Google::APIClient::UploadIO do
|
||||||
end
|
end
|
||||||
|
|
||||||
describe Google::APIClient::ResumableUpload do
|
describe Google::APIClient::ResumableUpload do
|
||||||
CLIENT = Google::APIClient.new
|
CLIENT ||= Google::APIClient.new
|
||||||
|
|
||||||
after do
|
after do
|
||||||
# Reset client to not-quite-pristine state
|
# Reset client to not-quite-pristine state
|
||||||
|
|
|
@ -18,7 +18,7 @@ require 'google/api_client'
|
||||||
require 'google/api_client/version'
|
require 'google/api_client/version'
|
||||||
|
|
||||||
describe Google::APIClient::Result do
|
describe Google::APIClient::Result do
|
||||||
CLIENT = Google::APIClient.new
|
CLIENT ||= Google::APIClient.new
|
||||||
|
|
||||||
describe 'with the plus API' do
|
describe 'with the plus API' do
|
||||||
before do
|
before do
|
||||||
|
|
Loading…
Reference in New Issue