Sha256: 7b2ada93915db61827e9770cf52ff767ee06f1666e085a7dca7c8e60b8ca738f

Contents?: true

Size: 335 Bytes

Versions: 2

Compression:

Stored size: 335 Bytes

Contents

require 'helper'

describe YellowApi::Client do
  let(:apikey) { 'd34q3259tezev7rdjkfwhw7d' }

  subject { YellowApi::Client.new(apikey: apikey) }

  it 'has a uid' do
    expect(subject.uid).to_not be_nil
  end

  it 'accepts a id as param' do
    expect(YellowApi::Client.new(apikey: apikey, uid: 'asdf').uid).to eq 'asdf'
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
yellow-api-wrapper-0.0.2 spec/yellow_api/client_spec.rb
yellow-api-wrapper-0.0.1 spec/yellow_api/client_spec.rb