module SunspotMatchers
Constants
- VERSION
Public Instance Methods
be_a_search_for(expected_class)
click to toggle source
# File lib/sunspot_matchers/matchers.rb, line 323 def be_a_search_for(expected_class) BeASearchFor.new(expected_class) end
have_dynamic_field(field)
click to toggle source
# File lib/sunspot_matchers/matchers.rb, line 383 def have_dynamic_field(field) HaveDynamicField.new(field) end
have_search_params(method, *args, &block)
click to toggle source
# File lib/sunspot_matchers/matchers.rb, line 169 def have_search_params(method, *args, &block) HaveSearchParams.new(method, *args, &block) end
have_searchable_field(field)
click to toggle source
# File lib/sunspot_matchers/matchers.rb, line 360 def have_searchable_field(field) HaveSearchableField.new(field) end