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