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