Sha256: 6237b631a8bd9a21dfd1a6aa07f2ca6b3d5b47ebc0c74dee063b90cee011c03f

Contents?: true

Size: 711 Bytes

Versions: 4

Compression:

Stored size: 711 Bytes

Contents

# Code generated for API Clients. DO NOT EDIT.

require 'spec_helper'

RSpec.describe NgrokAPI::Models::IdentityProvider do
  before(:each) do
    @client = class_double("IdentityProvidersClient")
    @identity_provider = NgrokAPI::Models::IdentityProvider.new(client: @client, attrs: identity_provider_result)
  end

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

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