Sha256: d71b98c5ad7adb7d8f178fc2cf22c1e3a7dc34de6656ac1bfa6b693ed0f718d6

Contents?: true

Size: 729 Bytes

Versions: 1

Compression:

Stored size: 729 Bytes

Contents

require 'spec_helper'

RSpec.describe NgrokAPI::Models::EndpointTLSTermination do
  before(:each) do
    @client = class_double("EndpointTLSTerminationsClient")
    @endpoint_tls_termination = NgrokAPI::Models::EndpointTLSTermination.new(client: @client, attrs: endpoint_tls_termination_result)
  end

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

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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ngrok-api-0.19.0 spec/ngrokapi/models/endpoint_tls_termination_spec.rb