make load_gcloud_project_id module function (#170)

This commit is contained in:
Graham Paye authored and GitHub committed 2018-10-26 12:17:12 -07:00
1 parent f0b0c6f8e8
commit 0d2becbdcd
6 files changed
+11 -6

No files matched your search

+1 -1
View File
@@ -221,7 +221,7 @@ describe Google::Auth::UserRefreshCredentials do
ENV['HOME'] = dir
ENV['APPDATA'] = dir
ENV[PROJECT_ID_VAR] = nil
expect(@clz).to receive(:load_gcloud_project_id).with(no_args)
expect(Google::Auth::CredentialsLoader).to receive(:load_gcloud_project_id).with(no_args)
@clz.from_well_known_path(@scope)
end
end