Sha256: c747d738344e92400e2b59f1897b911f9c89578641f1eb94743c40458ace0fd0
Contents?: true
Size: 553 Bytes
Versions: 6
Compression:
Stored size: 553 Bytes
Contents
<%- assert_locals service -%> <%- full_client_name = defined?(client_name_full) ? client_name_full : service.rest.client_name_full -%> def test_configure credentials_token = :dummy_value client = block_config = config = nil Gapic::Rest::ClientStub.stub :new, nil do client = <%= full_client_name =%>.new do |config| config.credentials = credentials_token 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
6 entries across 6 versions & 1 rubygems