Removed use of call.accept in gRPC Ruby
Change on 2014/12/11 by temiola <temiola@google.com>
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=81895023
diff --git a/src/ruby/spec/call_spec.rb b/src/ruby/spec/call_spec.rb
index 9228f7d..1332b3c 100644
--- a/src/ruby/spec/call_spec.rb
+++ b/src/ruby/spec/call_spec.rb
@@ -40,21 +40,23 @@
:ERROR => 1,
:NOT_ON_SERVER => 2,
:NOT_ON_CLIENT => 3,
- :ALREADY_INVOKED => 4,
- :NOT_INVOKED => 5,
- :ALREADY_FINISHED => 6,
- :TOO_MANY_OPERATIONS => 7,
- :INVALID_FLAGS => 8,
+ :ALREADY_ACCEPTED => 4,
+ :ALREADY_INVOKED => 5,
+ :NOT_INVOKED => 6,
+ :ALREADY_FINISHED => 7,
+ :TOO_MANY_OPERATIONS => 8,
+ :INVALID_FLAGS => 9,
:ErrorMessages => {
0=>'ok',
1=>'unknown error',
2=>'not available on a server',
3=>'not available on a client',
- 4=>'call is already invoked',
- 5=>'call is not yet invoked',
- 6=>'call is already finished',
- 7=>'outstanding read or write present',
- 8=>'a bad flag was given',
+ 4=>'call is already accepted',
+ 5=>'call is already invoked',
+ 6=>'call is not yet invoked',
+ 7=>'call is already finished',
+ 8=>'outstanding read or write present',
+ 9=>'a bad flag was given',
}
}
end