Sha256: ad4b510d5f2c67e6b7806a92c0b0f2397776ffdcfa44e1c82ffbe01482aa9a93

Contents?: true

Size: 759 Bytes

Versions: 4

Compression:

Stored size: 759 Bytes

Contents

# Code generated for API Clients. DO NOT EDIT.

require 'spec_helper'

RSpec.describe NgrokAPI::Models::EndpointOAuthGitHub do
  before(:each) do
    @client = class_double("EndpointOAuthGitHubsClient")
    @endpoint_o_auth_git_hub = NgrokAPI::Models::EndpointOAuthGitHub.new(client: @client, attrs: endpoint_o_auth_git_hub_result)
  end

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

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