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, HaveSearchParams, HaveSearchParamsForSession, HaveSearchableField, KeywordsMatcher, OrderByMatcher, PaginationMatcher, SunspotSearchSpy, SunspotSessionSpy, WithMatcher, WithoutMatcher
Constant Summary
collapse
- VERSION =
"2.1.1.1"
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_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
352
353
354
|
# File 'lib/sunspot_matchers/matchers.rb', line 352
def have_searchable_field(field)
HaveSearchableField.new(field)
end
|