Sha256: a3dfc9e30f3d805512cad65a3d4122dc0a8203c2a1506aa4633779b0a378f85d
Contents?: true
Size: 711 Bytes
Versions: 1
Compression:
Stored size: 711 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, attrs: 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, attrs: 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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
ngrok-api-0.19.0 | spec/ngrokapi/models/endpoint_o_auth_git_hub_spec.rb |