Module: SunspotMatchers
- Defined in:
- lib/sunspot_matchers/version.rb,
lib/sunspot_matchers/matchers.rb,
lib/sunspot_matchers/test_helper.rb,
lib/sunspot_matchers/sunspot_session_spy.rb
Defined Under Namespace
Modules: TestHelper
Classes: BaseMatcher, BeASearchFor, BeASearchForSession, BoostMatcher, FacetMatcher, GroupMatcher, HaveDynamicField, HaveSearchParams, HaveSearchParamsForSession, HaveSearchableField, KeywordsMatcher, OrderByMatcher, PaginationMatcher, SunspotSearchSpy, SunspotSessionSpy, WithMatcher, WithoutMatcher
Constant Summary
collapse
- VERSION =
"2.2.0.4"
Instance Method Summary
collapse
Instance Method Details
#be_a_search_for(expected_class) ⇒ Object
323
324
325
|
# File 'lib/sunspot_matchers/matchers.rb', line 323
def be_a_search_for(expected_class)
BeASearchFor.new(expected_class)
end
|
#have_dynamic_field(field) ⇒ Object
383
384
385
|
# File 'lib/sunspot_matchers/matchers.rb', line 383
def have_dynamic_field(field)
HaveDynamicField.new(field)
end
|
#have_search_params(method, *args, &block) ⇒ Object
169
170
171
|
# 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) ⇒ Object
360
361
362
|
# File 'lib/sunspot_matchers/matchers.rb', line 360
def have_searchable_field(field)
HaveSearchableField.new(field)
end
|