Sha256: 1a63e6f3a0297da2db7bad6c377a0d3209f9fa2eb922f686bbbf5bfe12e0dad9

Contents?: true

Size: 793 Bytes

Versions: 4

Compression:

Stored size: 793 Bytes

Contents

# Code generated for API Clients. DO NOT EDIT.

require 'spec_helper'

RSpec.describe NgrokAPI::Models::EndpointMutualTLSMutate do
  before(:each) do
    @client = class_double("EndpointMutualTLSMutatesClient")
    @endpoint_mutual_tls_mutate = NgrokAPI::Models::EndpointMutualTLSMutate.new(client: @client, attrs: endpoint_mutual_tls_mutate_result)
  end

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

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