Sha256: f420239b2acc1b1feb90f076a0cc5086266656e1ca19862d52e585933cb20a8e

Contents?: true

Size: 358 Bytes

Versions: 2

Compression:

Stored size: 358 Bytes

Contents

require 'spec_helper'

describe Voog::API::Search do

  let(:client) { voog_client }

  describe '#people' do
    before do
      request_fixture(:get, 'search', request: {query: {q: 'any kind of content'}}, fixture: 'search/search')
    end

    it 'returns a list of search results' do
      expect(client.search.result.length).to eql(3)
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
voog_api-0.0.16 spec/voog_api/api/search_spec.rb
voog_api-0.0.15 spec/voog_api/api/search_spec.rb