spec/lib/protobuf/rpc/middleware/logger_spec.rb in protobuf-3.7.0.pre2 vs spec/lib/protobuf/rpc/middleware/logger_spec.rb in protobuf-3.7.0.pre3

- old
+ new

@@ -19,16 +19,16 @@ end let(:method_name) { :find } let(:request) { request_type.new(:name => 'required') } let(:request_type) { rpc_method.request_type } let(:request_wrapper) do - Protobuf::Socketrpc::Request.new( + ::Protobuf::Socketrpc::Request.new( :service_name => service_name, :method_name => method_name.to_s, :request_proto => request, ) end - let(:response_wrapper) { Protobuf::Socketrpc::Response.new(:response_proto => response) } + let(:response_wrapper) { ::Protobuf::Socketrpc::Response.new(:response_proto => response) } let(:response) { rpc_method.response_type.new(:name => 'required') } let(:rpc_method) { service_class.rpcs[method_name] } let(:rpc_service) { service_class.new(env) } let(:service_class) { Test::ResourceService } let(:service_name) { service_class.to_s }