Sha256: 1f3129654edd869f08fd65952a040df0431ef18fb7e0e36c2a6c46a25647d8f4
Contents?: true
Size: 575 Bytes
Versions: 6
Compression:
Stored size: 575 Bytes
Contents
require 'spec_helper' RSpec.describe NgrokAPI::Models::AWSRole do before(:each) do @client = class_double("AWSRolesClient") @aws_role = NgrokAPI::Models::AWSRole.new(client: @client, result: aws_role_result) end describe "#==" do it "is equal if the results are the same" do other = NgrokAPI::Models::AWSRole.new(client: @client, result: aws_role_result) expect(@aws_role == other).to eq true end end describe "#to_s" do it "stringifies as result.to_s" do expect(@aws_role.to_s).to eq aws_role_result.to_s end end end
Version data entries
6 entries across 6 versions & 1 rubygems