diff options
author | Michael Lumish <mlumish@google.com> | 2015-04-14 17:50:08 -0700 |
---|---|---|
committer | Michael Lumish <mlumish@google.com> | 2015-04-14 17:50:08 -0700 |
commit | c547dcb547b4f6db558244edbe5b1c9d7001b717 (patch) | |
tree | 85552115bef49a4b19f5ffcb2c8ed60e0c50397a /src/ruby/spec/generic | |
parent | 1ca373894cadddca794190b34be7a24b9ee0f5c8 (diff) | |
parent | 2988e736dfd9f21aad1a79f134394ad0a78f03a3 (diff) |
Merge pull request #1282 from tbetbetbe/grpc_ruby_add_jwt_auth_interop
Grpc ruby enable jwt auth and and an interop test for it
Diffstat (limited to 'src/ruby/spec/generic')
-rw-r--r-- | src/ruby/spec/generic/rpc_server_spec.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ruby/spec/generic/rpc_server_spec.rb b/src/ruby/spec/generic/rpc_server_spec.rb index f409d73e2f..245999ea03 100644 --- a/src/ruby/spec/generic/rpc_server_spec.rb +++ b/src/ruby/spec/generic/rpc_server_spec.rb @@ -400,7 +400,8 @@ describe GRPC::RpcServer do end stub = EchoStub.new(@host, **@client_opts) expect(stub.an_rpc(req, k1: 'v1', k2: 'v2')).to be_a(EchoMsg) - wanted_md = [{ 'k1' => 'updated-v1', 'k2' => 'v2' }] + wanted_md = [{ 'k1' => 'updated-v1', 'k2' => 'v2', + 'jwt_aud_uri' => "https://#{@host}/EchoService" }] expect(service.received_md).to eq(wanted_md) @srv.stop t.join |