Sha256: e41fc15ad24f4915563f3da2481964f4f61b324b06f7ab46dfedb6fc5f6a41f3

Contents?: true

Size: 803 Bytes

Versions: 4

Compression:

Stored size: 803 Bytes

Contents

# Code generated for API Clients. DO NOT EDIT.

require 'spec_helper'

RSpec.describe NgrokAPI::Models::ReservedDomainCertPolicy do
  before(:each) do
    @client = class_double("ReservedDomainCertPolicysClient")
    @reserved_domain_cert_policy = NgrokAPI::Models::ReservedDomainCertPolicy.new(client: @client, attrs: reserved_domain_cert_policy_result)
  end

  describe "#==" do
    it "is equal if the results are the same" do
      other = NgrokAPI::Models::ReservedDomainCertPolicy.new(client: @client, attrs: reserved_domain_cert_policy_result)
      expect(@reserved_domain_cert_policy == other).to eq true
    end
  end

  describe "#to_s" do
    it "stringifies as result.to_s" do
      expect(@reserved_domain_cert_policy.to_s).to eq reserved_domain_cert_policy_result.to_s
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
ngrok-api-0.24.0 spec/ngrokapi/models/reserved_domain_cert_policy_spec.rb
ngrok-api-0.23.0 spec/ngrokapi/models/reserved_domain_cert_policy_spec.rb
ngrok-api-0.22.0 spec/ngrokapi/models/reserved_domain_cert_policy_spec.rb
ngrok-api-0.21.0 spec/ngrokapi/models/reserved_domain_cert_policy_spec.rb