Skip to content

Commit

Permalink
Small fix to service account spec
Browse files Browse the repository at this point in the history
  • Loading branch information
Sérgio Gomes committed Aug 14, 2014
1 parent 78ff182 commit 20e9a9b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/google/api_client/service_account_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
expect(jwt).not_to eq(nil)

claim = JWT.decode(jwt, @key.public_key, true)
claim = claim.first if claim.respond_to? :first
claim = claim[0] if claim[0]
expect(claim["iss"]).to eq('client1')
expect(claim["scope"]).to eq('scope1 scope2')
end
Expand Down

0 comments on commit 20e9a9b

Please sign in to comment.