Sha256: cd45747f8e8a0cf085767c98ec7978a4638d83c63d4f898aa430edf68ee4de6e

Contents?: true

Size: 575 Bytes

Versions: 4

Compression:

Stored size: 575 Bytes

Contents

# Code generated for API Clients. DO NOT EDIT.

require 'spec_helper'

RSpec.describe NgrokAPI::Models::Ref do
  before(:each) do
    @client = class_double("RefsClient")
    @ref = NgrokAPI::Models::Ref.new(client: @client, attrs: ref_result)
  end

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

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