Sha256: 6ab24d5f96f93db89fd7df8ce77f6f4735fc1a443b362b50494627340a531640

Contents?: true

Size: 691 Bytes

Versions: 1

Compression:

Stored size: 691 Bytes

Contents

# Code generated for API Clients. DO NOT EDIT.

require 'spec_helper'

RSpec.describe NgrokAPI::Models::EndpointPolicy do
  before(:each) do
    @client = class_double("EndpointPolicysClient")
    @endpoint_policy = NgrokAPI::Models::EndpointPolicy.new(client: @client, attrs: endpoint_policy_result)
  end

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

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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ngrok-api-0.22.0 spec/ngrokapi/models/endpoint_policy_spec.rb