diff options
author | 2017-11-13 08:05:34 +0100 | |
---|---|---|
committer | 2017-12-14 00:17:25 +0100 | |
commit | a2044f83c6956d8519c12ad698891f75c9391e50 (patch) | |
tree | c0c1353648244a5d31c1b94411c9a8d0d8743bbf /src/ruby/spec/generic/client_stub_spec.rb | |
parent | ef0e64cdf5350995e16bf36b50dd7efb094a4a25 (diff) |
metadata plugin update statuses in wrapped langs
Diffstat (limited to 'src/ruby/spec/generic/client_stub_spec.rb')
-rw-r--r-- | src/ruby/spec/generic/client_stub_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ruby/spec/generic/client_stub_spec.rb b/src/ruby/spec/generic/client_stub_spec.rb index 9539e56c0f..0ced39f116 100644 --- a/src/ruby/spec/generic/client_stub_spec.rb +++ b/src/ruby/spec/generic/client_stub_spec.rb @@ -228,7 +228,7 @@ describe 'ClientStub' do th.join end - it 'should receive UNAUTHENTICATED if call credentials plugin fails' do + it 'should receive UNAVAILABLE if call credentials plugin fails' do server_port = create_secure_test_server th = run_request_response(@sent_msg, @resp, @pass) @@ -252,7 +252,7 @@ describe 'ClientStub' do unauth_error_occured = false begin get_response(stub, credentials: creds) - rescue GRPC::Unauthenticated => e + rescue GRPC::Unavailable => e unauth_error_occured = true expect(e.details.include?(error_message)).to be true end |