spec/ngrokapi/models/aws_auth_spec.rb in ngrok-api-0.18.0 vs spec/ngrokapi/models/aws_auth_spec.rb in ngrok-api-0.19.0

- old
+ new

@@ -1,15 +1,15 @@ require 'spec_helper' RSpec.describe NgrokAPI::Models::AWSAuth do before(:each) do @client = class_double("AWSAuthsClient") - @aws_auth = NgrokAPI::Models::AWSAuth.new(client: @client, result: aws_auth_result) + @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, result: aws_auth_result) + other = NgrokAPI::Models::AWSAuth.new(client: @client, attrs: aws_auth_result) expect(@aws_auth == other).to eq true end end describe "#to_s" do