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.1.1.2"
Instance Method Summary
collapse
Instance Method Details
#be_a_search_for(expected_class) ⇒ Object
322
323
324
|
# File 'lib/sunspot_matchers/matchers.rb', line 322
def be_a_search_for(expected_class)
BeASearchFor.new(expected_class)
end
|
#have_dynamic_field(field) ⇒ Object
382
383
384
|
# File 'lib/sunspot_matchers/matchers.rb', line 382
def have_dynamic_field(field)
HaveDynamicField.new(field)
end
|
#have_search_params(method, *args, &block) ⇒ Object
168
169
170
|
# File 'lib/sunspot_matchers/matchers.rb', line 168
def have_search_params(method, *args, &block)
HaveSearchParams.new(method, *args, &block)
end
|
#have_searchable_field(field) ⇒ Object
359
360
361
|
# File 'lib/sunspot_matchers/matchers.rb', line 359
def have_searchable_field(field)
HaveSearchableField.new(field)
end
|