Sha256: 3f8ec5dc18cc075f0bdcbc8d53ee68930d4b4d41f068127b5c020313fad6e7e7

Contents?: true

Size: 376 Bytes

Versions: 3

Compression:

Stored size: 376 Bytes

Contents

require 'spec_helper'

describe Conquiro::SearchAPI::Client, vcr: {match_requests_on: [:method, :uri]} do
  let(:client) { described_class.new }
  describe 'when searching for yelp app' do
    it 'should find 50 search results' do
      response = client.query(term: 'yelp', country: 'us', entity: 'software')
      expect(response[:results].size).to eq(50)
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
conquiro-0.0.3 spec/lib/conquiro/search_api/client_spec.rb
conquiro-0.0.2 spec/lib/conquiro/search_api/client_spec.rb
conquiro-0.0.1 spec/lib/conquiro/search_api/client_spec.rb