Repository URL to install this package:
|
Version:
0.0.1 ▾
|
require 'spec_helper'
RSpec.describe Razorsync::Client do
it 'should connect using the configured endpoint and api version' do
client = Razorsync::Client.new
endpoint = URI.parse("#{client.endpoint}/")
connection = client.send(:connection).build_url(nil).to_s
expect(connection).to eq(endpoint.to_s)
end
end