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