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