Sha256: 56b423ca3c0262fb5a2f7cb222be72f007f5e5ca081aa7b2bb7093d7c3182c21

Contents?: true

Size: 707 Bytes

Versions: 4

Compression:

Stored size: 707 Bytes

Contents

# Code generated for API Clients. DO NOT EDIT.

require 'spec_helper'

RSpec.describe NgrokAPI::Models::EventSourceList do
  before(:each) do
    @client = class_double("EventSourceListsClient")
    @event_source_list = NgrokAPI::Models::EventSourceList.new(client: @client, attrs: event_source_list_result)
  end

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

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

Version data entries

4 entries across 4 versions & 1 rubygems

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