Sha256: 8123b01bf9ff38ffbaabc8ab774483cf2f1948df8bc48e02bd588feeaeb614d6
Contents?: true
Size: 747 Bytes
Versions: 4
Compression:
Stored size: 747 Bytes
Contents
# Code generated for API Clients. DO NOT EDIT. require 'spec_helper' RSpec.describe NgrokAPI::Models::AbuseReportHostname do before(:each) do @client = class_double("AbuseReportHostnamesClient") @abuse_report_hostname = NgrokAPI::Models::AbuseReportHostname.new(client: @client, attrs: abuse_report_hostname_result) end describe "#==" do it "is equal if the results are the same" do other = NgrokAPI::Models::AbuseReportHostname.new(client: @client, attrs: abuse_report_hostname_result) expect(@abuse_report_hostname == other).to eq true end end describe "#to_s" do it "stringifies as result.to_s" do expect(@abuse_report_hostname.to_s).to eq abuse_report_hostname_result.to_s end end end
Version data entries
4 entries across 4 versions & 1 rubygems