Resolving constant redefinition warnings.

This commit is contained in:
Bob Aman committed 2012-08-01 00:31:24 +03:00
1 parent 1ff1a8e355
commit 8d99b5b46c
4 files changed
+4 -4

No files matched your search

+1 -1
View File
@@ -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
+1 -1
View File
@@ -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
+1 -1
View File
@@ -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
+1 -1
View File
@@ -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