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