Sha256: 12b4bc4071ae8cbb6f9faea99efb13db08dfda5c8672e4b9f685237e062cf2dd
Contents?: true
Size: 593 Bytes
Versions: 31
Compression:
Stored size: 593 Bytes
Contents
<%- assert_locals service -%> <%- full_client_name = defined?(client_name_full) ? client_name_full : service.client_name_full -%> def test_configure grpc_channel = GRPC::Core::Channel.new "localhost:8888", nil, :this_channel_is_insecure client = block_config = config = nil Gapic::ServiceStub.stub :new, nil do client = <%= full_client_name =%>.new do |config| config.credentials = grpc_channel end end config = client.configure do |c| block_config = c end assert_same block_config, config assert_kind_of <%= full_client_name %>::Configuration, config end
Version data entries
31 entries across 31 versions & 1 rubygems