Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Apparently the ||= operator does not work with constants in some vers…

…ions of Ruby.
  • Loading branch information...
commit 09037027389b169f65dd274106d2c065d8ec66c8 1 parent c8418d4
Bob Aman authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  spec/google/api_client/discovery_spec.rb
2  spec/google/api_client/discovery_spec.rb
@@ -30,7 +30,7 @@
require 'google/api_client/version'
describe Google::APIClient do
- CLIENT ||=
+ CLIENT = unless defined?(CLIENT)
after do
# Reset client to not-quite-pristine state
Please sign in to comment.
Something went wrong with that request. Please try again.