Sha256: bca8d2ccc0286ba7b713693ba6a8b464883c77806f78c446546bf0cb6116fe06
Contents?: true
Size: 755 Bytes
Versions: 1
Compression:
Stored size: 755 Bytes
Contents
require 'spec_helper' RSpec.describe NgrokAPI::Models::ReservedDomainCertPolicy do before(:each) do @client = class_double("ReservedDomainCertPolicysClient") @reserved_domain_cert_policy = NgrokAPI::Models::ReservedDomainCertPolicy.new(client: @client, attrs: reserved_domain_cert_policy_result) end describe "#==" do it "is equal if the results are the same" do other = NgrokAPI::Models::ReservedDomainCertPolicy.new(client: @client, attrs: reserved_domain_cert_policy_result) expect(@reserved_domain_cert_policy == other).to eq true end end describe "#to_s" do it "stringifies as result.to_s" do expect(@reserved_domain_cert_policy.to_s).to eq reserved_domain_cert_policy_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/reserved_domain_cert_policy_spec.rb |