Sha256: 0760ba7d5153cb6a887e37af4d78ef8ef56fa93e0be4b544926eb39e5cea146d

Contents?: true

Size: 743 Bytes

Versions: 4

Compression:

Stored size: 743 Bytes

Contents

# Code generated for API Clients. DO NOT EDIT.

require 'spec_helper'

RSpec.describe NgrokAPI::Models::TLSCertificateSANs do
  before(:each) do
    @client = class_double("TLSCertificateSANssClient")
    @tls_certificate_sa_ns = NgrokAPI::Models::TLSCertificateSANs.new(client: @client, attrs: tls_certificate_sa_ns_result)
  end

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

  describe "#to_s" do
    it "stringifies as result.to_s" do
      expect(@tls_certificate_sa_ns.to_s).to eq tls_certificate_sa_ns_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/tls_certificate_sa_ns_spec.rb
ngrok-api-0.23.0 spec/ngrokapi/models/tls_certificate_sa_ns_spec.rb
ngrok-api-0.22.0 spec/ngrokapi/models/tls_certificate_sa_ns_spec.rb
ngrok-api-0.21.0 spec/ngrokapi/models/tls_certificate_sa_ns_spec.rb