Sha256: 7ce63e6a260b0e3ba1cf4889df2d3d08c7194476b01a7ab1eb99ebbdd6d2882f
Contents?: true
Size: 737 Bytes
Versions: 6
Compression:
Stored size: 737 Bytes
Contents
require 'spec_helper' RSpec.describe NgrokAPI::Models::EndpointIPPolicyMutate do before(:each) do @client = class_double("EndpointIPPolicyMutatesClient") @endpoint_ip_policy_mutate = NgrokAPI::Models::EndpointIPPolicyMutate.new(client: @client, result: endpoint_ip_policy_mutate_result) end describe "#==" do it "is equal if the results are the same" do other = NgrokAPI::Models::EndpointIPPolicyMutate.new(client: @client, result: endpoint_ip_policy_mutate_result) expect(@endpoint_ip_policy_mutate == other).to eq true end end describe "#to_s" do it "stringifies as result.to_s" do expect(@endpoint_ip_policy_mutate.to_s).to eq endpoint_ip_policy_mutate_result.to_s end end end
Version data entries
6 entries across 6 versions & 1 rubygems