Sha256: eb07cfe699a7a6f222c10a603332c38c197b0031e5a079035bcf6df204e5fa62

Contents?: true

Size: 433 Bytes

Versions: 2

Compression:

Stored size: 433 Bytes

Contents

require 'test_helper'

class SummonSearcherTest < ActiveSupport::TestCase

  # FIXME: this test should be moved to a result set object
  vcr_test "should have author in result", "searches", cassette: 'printing' do
    summon = QuickSearch::SummonSearcher.new(HTTPClient.new, 'printing', 3)
    summon.search
    results = summon.results
    assert results.first.description.include?('Although we live in the digital age')
  end

end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
quick_search-core-0.0.1 test/searcher/summon_test.rb
quick_search-core-0.0.1.test test/searcher/summon_test.rb