Apparently the ||= operator does not work with constants in some versions of Ruby.
This commit is contained in:
parent
c8418d4976
commit
0903702738
|
@ -30,7 +30,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 unless defined?(CLIENT)
|
||||||
|
|
||||||
after do
|
after do
|
||||||
# Reset client to not-quite-pristine state
|
# Reset client to not-quite-pristine state
|
||||||
|
|
Loading…
Reference in New Issue