* Add search methods * Add spec for new search methods * Add QueryBuilder for ClassifiedListing * Add QueryBuilder spec for ClassifiedListing * Refact build_query in ClassifiedListings * Refactor logic for filter and query conditions * Refactor index_documents to helper_method * Update elasticsearch helper for single objects * Refactor specs from stubbing to record update * Update search and specs for query_builder * Refactor set_size * Update Search::ClassifiedListing - Add DEFAULT_PAGE constant - ADD DEFAULT_PER_PAGE constant - Add pagination * Fix paging * Add pagination specs * Remove manual Array conversion for Array.wrap() * Change guard clause to .key? for readability |
||
|---|---|---|
| .. | ||
| fixtures | ||
| initializers | ||
| api_analytics_shared_examples.rb | ||
| elasticsearch_helpers.rb | ||
| omniauth_macros.rb | ||
| shared_context.rb | ||
| sidekiq_test_helpers.rb | ||
| stubs.rb | ||
| within_block_is_expected.rb | ||