Skip to content

Commit

Permalink
Google::APIClient::FileStore.load_credentials loads all attrs of the …
Browse files Browse the repository at this point in the history
…json
  • Loading branch information
ysksn committed May 29, 2016
1 parent dffa167 commit ccd694a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion spec/google/api_client/auth/storages/file_store_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,9 @@
it 'should load credentials' do
subject.path = json_file
credentials = subject.load_credentials
expect(credentials).to include('access_token', 'authorization_uri', 'refresh_token')
expect(credentials).to include(
'access_token', 'authorization_uri', 'refresh_token', 'client_id',
'client_secret', 'expires_in', 'token_credential_uri', 'issued_at')
end

it 'should write credentials' do
Expand Down

0 comments on commit ccd694a

Please sign in to comment.