Sha256: afacca0cb8cbf6bd3ca125b42c84168fe4b97b11d54ebced81375cfb7be5f362

Contents?: true

Size: 331 Bytes

Versions: 2

Compression:

Stored size: 331 Bytes

Contents

require File.expand_path('../../spec_helper', __FILE__)

describe EPayCo::Client do
  it "should connect using the endpoint configuration" do
    client = EPayCo::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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
epayco-0.0.3 spec/epayco/client_spec.rb
epayco-0.0.2 spec/epayco/client_spec.rb