aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorGravatar Tim Emiola <temiola@google.com>2015-02-09 12:35:10 -0800
committerGravatar Tim Emiola <temiola@google.com>2015-02-09 12:35:10 -0800
commit5d66df87c52e17c75be0a08c836d4b007d439d86 (patch)
tree5476f7744c77544167ba12addbbcdebb5e96025a /src
parentb24054aee2a21e8b24a112a7ec3180f7b81c4475 (diff)
updates the client server spec to reflect that status is no longer shown
Diffstat (limited to 'src')
-rw-r--r--src/ruby/spec/client_server_spec.rb5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/ruby/spec/client_server_spec.rb b/src/ruby/spec/client_server_spec.rb
index 96b8ef4300..f5acae896a 100644
--- a/src/ruby/spec/client_server_spec.rb
+++ b/src/ruby/spec/client_server_spec.rb
@@ -292,10 +292,10 @@ shared_examples 'GRPC metadata delivery works OK' do
# TODO: update this with the bug number to be resolved
ev = expect_next_event_on(@client_queue, CLIENT_METADATA_READ,
@client_metadata_tag)
- expect(ev.result).to eq(':status' => '200')
+ expect(ev.result).to eq({})
end
- it 'sends all the pairs and status:200 when keys and values are valid' do
+ it 'sends all the pairs when keys and values are valid' do
@valid_metadata.each do |md|
call = new_client_call
call.invoke(@client_queue, @client_metadata_tag, @client_finished_tag)
@@ -314,7 +314,6 @@ shared_examples 'GRPC metadata delivery works OK' do
ev = expect_next_event_on(@client_queue, CLIENT_METADATA_READ,
@client_metadata_tag)
replace_symbols = Hash[md.each_pair.collect { |x, y| [x.to_s, y] }]
- replace_symbols[':status'] = '200'
expect(ev.result).to eq(replace_symbols)
end
end