Sha256: c52477352ef02714da1fc3537ba061c440501bbf263d0cf084cd601f54956b00
Contents?: true
Size: 1007 Bytes
Versions: 1
Compression:
Stored size: 1007 Bytes
Contents
require 'spec_helper' RSpec.describe NgrokAPI::Client do before(:each) do @client = NgrokAPI::Client.new(api_key: 'abc') end describe "#api_keys" do it "returns an instance of the api_keys_client" do expect(@client.api_keys.class).to eq(NgrokAPI::Services::ApiKeysClient) end end describe "#endpoint_configurations" do it "returns an instance of the endpoint_configurations_client" do expect(@client.endpoint_configurations.class).to eq( NgrokAPI::Services::EndpointConfigurationsClient ) end end describe "#reserved_domains" do it "returns an instance of the reserved_domains_client" do expect(@client.reserved_domains.class).to eq(NgrokAPI::Services::ReservedDomainsClient) end end describe "#tls_certificates" do it "returns an instance of the tls_certificates_client" do expect(@client.tls_certificates.class).to eq(NgrokAPI::Services::TlsCertificatesClient) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
ngrok-api-0.9.0 | spec/ngrokapi/client_spec.rb |