Class: SunspotMatchers::SunspotSearchSpy

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

Instance Method Summary collapse

Instance Method Details

#executeObject



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

def execute
  self
end

#facet_responseObject



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

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

#group_responseObject



12
13
14
# File 'lib/sunspot_matchers/sunspot_session_spy.rb', line 12

def group_response
  {}
end

#solr_responseObject



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

def solr_response
  {}
end