Sha256: 4007545dde596905914a22ba4070dfd61a4ccb5712f62f40a6bfd1fd1ea83d4b
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::EventTarget do before(:each) do @client = class_double("EventTargetsClient") @event_target = NgrokAPI::Models::EventTarget.new(client: @client, attrs: event_target_result) end describe "#==" do it "is equal if the results are the same" do other = NgrokAPI::Models::EventTarget.new(client: @client, attrs: event_target_result) expect(@event_target == other).to eq true end end describe "#to_s" do it "stringifies as result.to_s" do expect(@event_target.to_s).to eq event_target_result.to_s end end end
Version data entries
4 entries across 4 versions & 1 rubygems