Sha256: 4a0fd741a6cb39c85708be678c1f0d691a9a8f87239d84ceea4f183739581045

Contents?: true

Size: 793 Bytes

Versions: 3

Compression:

Stored size: 793 Bytes

Contents

# Code generated for API Clients. DO NOT EDIT.

require 'spec_helper'

RSpec.describe NgrokAPI::Models::EndpointUserAgentFilter do
  before(:each) do
    @client = class_double("EndpointUserAgentFiltersClient")
    @endpoint_user_agent_filter = NgrokAPI::Models::EndpointUserAgentFilter.new(client: @client, attrs: endpoint_user_agent_filter_result)
  end

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

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

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
ngrok-api-0.24.0 spec/ngrokapi/models/endpoint_user_agent_filter_spec.rb
ngrok-api-0.23.0 spec/ngrokapi/models/endpoint_user_agent_filter_spec.rb
ngrok-api-0.22.0 spec/ngrokapi/models/endpoint_user_agent_filter_spec.rb