Sha256: 4a8b9aa5f8f85c3899a2c811bc516ff3b611ed83a9abf439384cf5326aa1419e

Contents?: true

Size: 290 Bytes

Versions: 13

Compression:

Stored size: 290 Bytes

Contents

# frozen_string_literal: true

describe Onfido::Address do
  include_context 'fake onfido api'

  describe '#all' do
    it 'returns the addresses matching the postcode' do
      response = onfido.address.all('SW1 4NG')

      expect(response['addresses'].count).to eq(2)
    end
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
onfido-2.9.0 spec/integrations/address_spec.rb
onfido-2.8.0 spec/integrations/address_spec.rb
onfido-2.7.0 spec/integrations/address_spec.rb
onfido-2.6.0 spec/integrations/address_spec.rb
onfido-2.5.0 spec/integrations/address_spec.rb
onfido-2.4.0 spec/integrations/address_spec.rb
onfido-2.3.0 spec/integrations/address_spec.rb
onfido-2.2.0 spec/integrations/address_spec.rb
onfido-2.1.1 spec/integrations/address_spec.rb
onfido-2.1.0 spec/integrations/address_spec.rb
onfido-2.0.2 spec/integrations/address_spec.rb
onfido-2.0.1 spec/integrations/address_spec.rb
onfido-2.0.0 spec/integrations/address_spec.rb