Sha256: fdc08daae831a1713e06d5fb3a6288af147e398aecb8512f51240c35ee016849
Contents?: true
Size: 747 Bytes
Versions: 6
Compression:
Stored size: 747 Bytes
Contents
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, result: 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, result: 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
6 entries across 6 versions & 1 rubygems