Sha256: bb6cdd6da3f0f07efd1a04f0ec0b592f4a3488a3e0fa72056828e7eed94c436c
Contents?: true
Size: 748 Bytes
Versions: 29
Compression:
Stored size: 748 Bytes
Contents
<%- assert_locals gem -%> <%= render partial: "shared/header" -%> require "helper" require "<%= gem.namespace_require %>" require "gapic/common" require "gapic/grpc" class <%= gem.namespace %>::ClientConstructionMinitest < Minitest::Test <%- gem.services.each do |service| -%> def test_<%= service.factory_method_name %> Gapic::ServiceStub.stub :new, :stub do grpc_channel = GRPC::Core::Channel.new "localhost:8888", nil, :this_channel_is_insecure client = <%= gem.namespace %>.<%= service.factory_method_name %> do |config| config.credentials = grpc_channel end assert_kind_of <%= gem.namespaced_class "#{service.module_name}::Client", version: gem.default_version %>, client end end <%- end -%> end
Version data entries
29 entries across 29 versions & 1 rubygems