Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
gingr / spec / gingr / client.rb
Size: Mime:
require 'spec_helper'

RSpec.describe Gingr::Client do

  it 'should connect using the configured endpoint and api version' do
    client = Gingr::Client.new({company_name: 'company'})
    endpoint = URI.parse("#{client.endpoint}#{client.api_version}/")
    connection = client.send(:connection).build_url(nil).to_s
    expect(connection).to eq('https://company.gingrapp.com/')
  end

end