From 883fb14147825c7fa7dc293b38fbe142af4e25b6 Mon Sep 17 00:00:00 2001 From: Todd Derr Date: Mon, 29 Jun 2015 17:01:19 -0400 Subject: [PATCH] Fix a failing test introduced in #28. The environment variables in the 'fails if env vars are set' test were not actually being set because they used a nonexistent hash key (which has the effect of unsetting the environment variable). --- spec/googleauth/get_application_default_spec.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/spec/googleauth/get_application_default_spec.rb b/spec/googleauth/get_application_default_spec.rb index e143b0b..2a7ec93 100644 --- a/spec/googleauth/get_application_default_spec.rb +++ b/spec/googleauth/get_application_default_spec.rb @@ -195,6 +195,8 @@ describe '#get_application_default' do client_secret: 'privatekey', refresh_token: 'refreshtoken', client_id: 'app.apps.googleusercontent.com', + private_key: @key.to_pem, + client_email: 'app@developer.gserviceaccount.com', type: 'not_known_type' } end