Merge pull request #15800 from ganmacs/remove-redefine-class

EchoMsg is defined in spec/support/services.rb
pull/15747/head
apolcyn 7 years ago committed by GitHub
commit 3da62273f7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 11
      src/ruby/spec/client_auth_spec.rb
  2. 11
      src/ruby/spec/google_rpc_status_utils_spec.rb

@ -39,17 +39,6 @@ def create_server_creds
true) # force client auth
end
# A test message
class EchoMsg
def self.marshal(_o)
''
end
def self.unmarshal(_o)
EchoMsg.new
end
end
# a test service that checks the cert of its peer
class SslTestService
include GRPC::GenericService

@ -114,17 +114,6 @@ describe 'conversion from a status struct to a google protobuf status' do
end
end
# Test message
class EchoMsg
def self.marshal(_o)
''
end
def self.unmarshal(_o)
EchoMsg.new
end
end
# A test service that fills in the "reserved" grpc-status-details-bin trailer,
# for client-side testing of GoogleRpcStatus protobuf extraction from trailers.
class GoogleRpcStatusTestService

Loading…
Cancel
Save