Sha256: 658e7ea5c19e5a965f6b65d9882b41b355eb12a03c06ccc57d8b3a958011c24e
Contents?: true
Size: 777 Bytes
Versions: 4
Compression:
Stored size: 777 Bytes
Contents
# Code generated for API Clients. DO NOT EDIT. require 'spec_helper' RSpec.describe NgrokAPI::Models::EndpointCircuitBreaker do before(:each) do @client = class_double("EndpointCircuitBreakersClient") @endpoint_circuit_breaker = NgrokAPI::Models::EndpointCircuitBreaker.new(client: @client, attrs: endpoint_circuit_breaker_result) end describe "#==" do it "is equal if the results are the same" do other = NgrokAPI::Models::EndpointCircuitBreaker.new(client: @client, attrs: endpoint_circuit_breaker_result) expect(@endpoint_circuit_breaker == other).to eq true end end describe "#to_s" do it "stringifies as result.to_s" do expect(@endpoint_circuit_breaker.to_s).to eq endpoint_circuit_breaker_result.to_s end end end
Version data entries
4 entries across 4 versions & 1 rubygems