Sha256: 44e2143d5f169ad21c5293bf393f4ff025ca9c1c2883b7301d577c46396532ee

Contents?: true

Size: 621 Bytes

Versions: 4

Compression:

Stored size: 621 Bytes

Contents

# Code generated for API Clients. DO NOT EDIT.

require 'spec_helper'

RSpec.describe NgrokAPI::Models::AWSAuth do
  before(:each) do
    @client = class_double("AWSAuthsClient")
    @aws_auth = NgrokAPI::Models::AWSAuth.new(client: @client, attrs: aws_auth_result)
  end

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

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