Sha256: 289b40ce4b478714bc8553a755878d89260fe9a8718bff4a041fc6553c4d2d28

Contents?: true

Size: 737 Bytes

Versions: 4

Compression:

Stored size: 737 Bytes

Contents

# Code generated for API Clients. DO NOT EDIT.

require 'spec_helper'

RSpec.describe NgrokAPI::Models::EventSourceReplace do
  before(:each) do
    @client = class_double("EventSourceReplacesClient")
    @event_source_replace = NgrokAPI::Models::EventSourceReplace.new(client: @client, attrs: event_source_replace_result)
  end

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

  describe "#to_s" do
    it "stringifies as result.to_s" do
      expect(@event_source_replace.to_s).to eq event_source_replace_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_replace_spec.rb
ngrok-api-0.23.0 spec/ngrokapi/models/event_source_replace_spec.rb
ngrok-api-0.22.0 spec/ngrokapi/models/event_source_replace_spec.rb
ngrok-api-0.21.0 spec/ngrokapi/models/event_source_replace_spec.rb