Sha256: 4af9d8070162b70ef82cf3da5a5fb84456370b6ab6130dc32b86f4091dcc6800

Contents?: true

Size: 643 Bytes

Versions: 1

Compression:

Stored size: 643 Bytes

Contents

require 'spec_helper'

RSpec.describe NgrokAPI::Models::AWSCredentials do
  before(:each) do
    @client = class_double("AWSCredentialssClient")
    @aws_credentials = NgrokAPI::Models::AWSCredentials.new(client: @client, attrs: aws_credentials_result)
  end

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

  describe "#to_s" do
    it "stringifies as result.to_s" do
      expect(@aws_credentials.to_s).to eq aws_credentials_result.to_s
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ngrok-api-0.19.0 spec/ngrokapi/models/aws_credentials_spec.rb