Class: SunspotMatchersTestunit::SunspotSearchSpy

Inherits:
Sunspot::Search::StandardSearch
  • Object
show all
Defined in:
lib/sunspot_matchers_testunit/sunspot_session_spy.rb

Instance Method Summary collapse

Instance Method Details

#executeObject



3
4
5
# File 'lib/sunspot_matchers_testunit/sunspot_session_spy.rb', line 3

def execute
  self
end

#facet_responseObject



9
10
11
# File 'lib/sunspot_matchers_testunit/sunspot_session_spy.rb', line 9

def facet_response
  {'facet_queries' => {}}
end

#solr_responseObject



6
7
8
# File 'lib/sunspot_matchers_testunit/sunspot_session_spy.rb', line 6

def solr_response
  {}
end