Additional fix for broken ||= constant assignment

This commit is contained in:
Steven Bazyl 2012-10-25 14:28:16 -07:00
parent e214ac57f3
commit f85e73087e
1 changed files with 1 additions and 2 deletions

View File

@ -13,12 +13,11 @@
# limitations under the License.
require 'spec_helper'
require 'google/api_client'
require 'google/api_client/version'
describe Google::APIClient::BatchRequest do
CLIENT ||= Google::APIClient.new
CLIENT = Google::APIClient.new unless defined?(CLIENT)
after do
# Reset client to not-quite-pristine state