Class: SunspotMatchersTestunit::WithMatcher

Inherits:
BaseMatcher
  • Object
show all
Defined in:
lib/sunspot_matchers_testunit/matchers.rb

Instance Attribute Summary

Attributes inherited from BaseMatcher

#args

Instance Method Summary collapse

Methods inherited from BaseMatcher

#actual_params, #actual_search, #build_comparison_search, #compare_key, #compare_multi_value, #compare_single_value, #comparison_matcher_for_key, #comparison_params, #differences, #field, #filter_values, #initialize, #match?, #missing_param_error_message, #query_params_for_search, #search_tuple, #search_types, #unexpected_match_error_message, #wildcard?, #wildcard_matcher_for_keys

Constructor Details

This class inherits a constructor from SunspotMatchersTestunit::BaseMatcher

Instance Method Details

#keys_to_compareObject



173
174
175
# File 'lib/sunspot_matchers_testunit/matchers.rb', line 173

def keys_to_compare
  [:fq]
end

#search_methodObject



169
170
171
# File 'lib/sunspot_matchers_testunit/matchers.rb', line 169

def search_method
  :with
end