Sha256: a8883a46067f336bf1b1dad77e184e4df3516a229dfa926c66be159b9f83ed9c

Contents?: true

Size: 349 Bytes

Versions: 4

Compression:

Stored size: 349 Bytes

Contents

require 'spec_helper'

describe Voog::API::Search do

  let(:client) { voog_client }

  describe '#people' do
    before do
      request_fixture(:get, 'search', request: {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

4 entries across 4 versions & 1 rubygems

Version Path
voog_api-0.0.14 spec/voog_api/api/search_spec.rb
voog_api-0.0.13 spec/voog_api/api/search_spec.rb
voog_api-0.0.12 spec/voog_api/api/search_spec.rb
voog_api-0.0.11 spec/voog_api/api/search_spec.rb