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